effect-ts-folds
effect-ts-folds
Recursion schemes for effect-ts.
Status
- Folds
- Catamorphism
- Paramorphism
- Zygomorphism
- Histomorphism
- Unfolds
- Anamorphism
- Apomorphism
- Refolds
- hylomorphism
- 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.
- Fuse folds/unfolds/refolds into tuples and structs.
- Stack-safety using the
effect-ts
Effect
type as a continuation monad.
- Tests for all morphisms and combinators, and some
law tests for
folds and unfolds.
Limitations
No examples or documentation.
More Info
- API Docs
- Haskell
- Awesome recursion schemes