https://github.com/iansinnott/shirt
👕 Put a shirt on that data! Simple algebraic data types
https://github.com/iansinnott/shirt
algebraic-data-types fp monad
Last synced: 12 months ago
JSON representation
👕 Put a shirt on that data! Simple algebraic data types
- Host: GitHub
- URL: https://github.com/iansinnott/shirt
- Owner: iansinnott
- License: mit
- Created: 2017-01-27T07:23:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-08T07:06:04.000Z (almost 9 years ago)
- Last Synced: 2025-05-20T23:38:57.320Z (about 1 year ago)
- Topics: algebraic-data-types, fp, monad
- Language: JavaScript
- Homepage:
- Size: 138 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# Shirt
[](https://circleci.com/gh/iansinnott/shirt)
[](https://www.npmjs.com/package/shirt)
> 👕 Put a shirt on that data! Simple algebraic data types with zero dependencies
## Install
```
$ npm install --save shirt
```
## Usage
```js
import { Maybe, Either, IO, Validation } from 'shirt';
// TODO: examples...
```
You also have access to helper functions that might eliminate the need for another library:
```js
import { compose, curry, curryN } from 'shirt';
// TODO: examples...
```
## API
### `Maybe`
### `Either`
### `IO`
### `Validation`
## License
MIT © [Ian Sinnott](https://www.iansinnott.com)