Recursion schemes for effect-ts.
npm install effect-ts-foldsRecursion schemes for effect-ts.
1. Folds
1. Catamorphism
2. Paramorphism
3. Zygomorphism
4. Histomorphism
2. Unfolds
1. Anamorphism
2. Apomorphism
3. Refolds
1. hylomorphism
4. A version of all of the above that is lazy, allows running effects inside the
operation, and returns the result wrapped in an Effect type.
5. Fuse folds/unfolds/refolds into tuples and structs.
6. Stack-safety using the effect-ts
Effect type as a _continuation monad_.
7. Tests for all morphisms and combinators, and some
law tests for
folds and unfolds.
No examples or documentation.