1.0.3 • Published 7 years ago

@svenardo/fun v1.0.3

Weekly downloads
1
License
ISC
Repository
gitlab
Last release
7 years ago

Fun

https://gitlab.acando.no/nosverob/fun.git

Consumption

Either

A monad for disjunctions. (e.g.: computations that may fail)

See example/either-example-simple.js(simple example code) or example/either-example.js(extended example code)

Curry

Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments.

See example/curry-example.js(example code) for usage.

License

see LICENSE.md, otherwise ISC where nothing else is noted.

Questions / Updates

Contact Sven Anders Robbestad or preferably file a PR or an issue at module-template