JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q65463F
  • License ISC

Recursion schemes for effect-ts.

Package Exports

  • effect-ts-folds

Readme

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.

Types

effect-ts-folds types

Limitations

No examples or documentation.

More Info

  1. API Docs
  2. Haskell
  3. Awesome recursion schemes