packages feed

recursion 2.2.0.0 → 2.2.0.1

raw patch · 3 files changed

+6/−2 lines, 3 files

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # recursion +## 2.2.0.1++* Documentation fix+ ## 2.2.0.0  * Fix documentation
recursion.cabal view
@@ -1,6 +1,6 @@ cabal-version:      1.18 name:               recursion-version:            2.2.0.0+version:            2.2.0.1 license:            BSD3 license-file:       LICENSE copyright:          Copyright: (c) 2018 Vanessa McHale
src/Control/Recursion.hs view
@@ -242,7 +242,7 @@ mutuM' :: (Recursive t, Traversable (Base t), Monad m) => (Base t (a, a) -> m a) -> (Base t (a, a) -> m a) -> t -> m a mutuM' f g = h where h = fmap snd . cataM (\x -> zipM (f x) (g x)) --- | Catamorphism collaψng along two data types simultaneously.+-- | Catamorphism collapsing along two data types simultaneously. scolio :: (Recursive t) => (Base t (a, t) -> a) -> (Base t (a, t) -> t) -> t -> a scolio = fst .** (cata .* (&&&))