catamorphism 0.5.0.0 → 0.5.0.1
raw patch · 2 files changed
+2/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- catamorphism.cabal +1/−1
- src/Data/Morphism/Cata.hs +1/−0
catamorphism.cabal view
@@ -1,5 +1,5 @@ name: catamorphism-version: 0.5.0.0+version: 0.5.0.1 synopsis: A package exposing a helper function for generating catamorphisms. description: A package exposing a helper function for generating catamorphisms. homepage: http://github.com/frerich/catamorphism
src/Data/Morphism/Cata.hs view
@@ -38,6 +38,7 @@ > | Variable Char > | Sum (Expr a) (Expr a) >+> -- Defines 'cataExpr :: (a -> b) -> (Char -> b) -> (b -> b -> b) -> Expr a -> b' > $(makeCata defaultOptions { cataName = "cataExpr" } ''Expr) The 'makeCata' invocation defines a 'cataExpr' function which works like a fold on