The Lua script CurryZoo.lua contains a basic 'zoo' of cobinatory logic. It's mainly for demonstration, mind you. There's no entrypoint.
- S, K and I combinators are the most basic combintors;
- Functions like 'map' and 'apply', or 'filter', these are 'functors'. The 'map' function is homomorphic with the
*operator which is the 'transitive closure operator', but it appears in regular expression as the 'zero or more operator'. A lot is to be said about these. - A parsec (parser combintor).
zero_or_moreis homomorphic (or isomorphic? dunno I'm learning myself) withmap.
Enjoy.