shirt
v0.4.0
Published
Simple algebraic data types for javascript
Downloads
15
Maintainers
Readme
Shirt
👕 Put a shirt on that data! Simple algebraic data types with zero dependencies
Install
$ npm install --save shirt
Usage
import { Maybe, Either, IO, Validation } from 'shirt';
// TODO: examples...
You also have access to helper functions that might eliminate the need for another library:
import { compose, curry, curryN } from 'shirt';
// TODO: examples...
API
Maybe
Either
IO
Validation
License
MIT © Ian Sinnott