Created
January 20, 2017 20:12
-
-
Save deque-blog/574b61e4bacd2b6577522878d25aec7a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cataExpr :: (ExprR a -> a) -> Expr -> a | |
cataExpr algebra = | |
algebra | |
. fmap (cataExpr algebra) | |
. unFix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment