func-yeah
v0.0.2
Published
Bare bones functional utilities for javascript
Readme
func-yeah
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-yeahAvailable Types
Usage
import Either from 'func-yeah/dist/Either';| Name | Tutorial | | ---- | ---- | |Container | Intro| |LazyContainer | Intro| |Either | Intro, fromCondition, fromTry, fromPromise| |Maybe | Intro| |IO | Intro|
Operators
Usage
import map from 'func-yeah/dist/operators/map';- map
- join
- chain
