Created
January 20, 2017 20:16
-
-
Save deque-blog/0e669124c7ee32aa1e37c33742407421 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
cata :: Functor f => (f a -> a) -> Fix f -> a | |
cata algebra = | |
algebra | |
. fmap (cata algebra) | |
. unFix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment