Bare bones implementation of javascript functional utilties. These will cover most of your use cases, or if you're just playing around. If you're looking for more comprehensive implementation, look at Folktale or Fantasy-Land.
This library was built as part of my youtube tutorial series on functional programming. http://bit.ly/functional-programming-concepts
yarn add func-yeah
import Either from 'func-yeah/dist/Either';
Name | Tutorial |
---|---|
Container | Intro |
LazyContainer | Intro |
Either | Intro, fromCondition, fromTry, fromPromise |
Maybe | Intro |
IO | Intro |
import map from 'func-yeah/dist/operators/map';
- map
- join
- chain