Skip to content

Refactor MonadUtils and friends to export functions constrained by Foldable instead of hard-coded []

MonadUtils exports versions of foldlM, foldlM_ and foldrM specialised to []. Bag also defines its own foldM-style combinators. There are probably some other examples. We have had Data.Foldable now for some time, so use it.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information