Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

It's great that people see the value in having these kinds of functional tools! I also put together a library that looks very similar to this, and it sure has been handy. I used it as a foundation to build some solid algebraic APIs (typesafe parser combinators based on the Brzozowski derivative and pickler combinators).

I like how the catamorphism is called "Match" rather than "Fold" (which is what Scala uses). Using named parameters whenever Match is called really does help with the readability, and they make the "case analysis" explicit.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: