Skip to content

middle-ages/effect-ts-folds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

effect-ts-folds

Recursion schemes for effect-ts.

Status

  1. Folds
    1. Catamorphism
    2. Paramorphism
    3. Zygomorphism
  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.

Limitations

  1. Experimental, brand new, and very limited in variety of morphisms available.
  2. No examples or documentation.

More Info

  1. Haskell
  2. Awesome recursion schemes

About

Recursion schemes for effect-ts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published