@priestine/data
v3.1.1
Published
Functional data types, most common algebraic structures as interfaces (FL and SL compliant) and frequently used monads.
Downloads
3
Maintainers
Readme
@priestine/data
Functional data types, most common algebraic structures as interfaces (FL and SL compliant) and frequently used monads.
Installation
npm i --save @priestine/data
or
yarn add @priestine/data
Contents
- Algebraic structures as interfaces
- Setoid
- Ord extends Setoid
- Semigroupoid
- Semigroup
- Monoid extends Semigroup
- Filterable
- Functor
- Apply extends Functor
- Applicative extends Apply
- Chain extends Apply
- Monad extends Applicative and Chain
- Bifunctor extends Functor
- Common monads
- Pipeline <Monoid>
- SyncPipeline <Monoid>
- Either (Left <Setoid & Semigroup & Monad> || Right <Setoid & Semigroup & Monad>)