Generalized folds, unfolds, and traversals for fixed point data structures in PureScript. (A port of Matryoshka).
bower install purescript-matryoshka
Real documentation coming soon, for now refer to the original Matryoshka docs for an explanation of the general concepts!
A port of the example used in these docs is available here.
A simple example showing the use of cata
, ana
and hylo
is here.
Module documentation is published on Pursuit: http://pursuit.purescript.org/packages/purescript-matryoshka