Skip to content

👕 Put a shirt on that data! Simple algebraic data types

License

Notifications You must be signed in to change notification settings

iansinnott/shirt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shirt

Build Status shirt on NPM

👕 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

About

👕 Put a shirt on that data! Simple algebraic data types

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published