ramda-fantasy
Fantasy Land compatible types for easy integration with Ramda.
Project status
This project is in alpha status. The implementation of the Fantasy Land spec should be mostly stable. Any methods outside of the Fantasy Land spec are subject to change. The types also have not undergone thorough testing/use yet.
Available types
Name | Setoid | Semigroup | Functor | Applicative | Monad | Foldable | ChainRec |
---|---|---|---|---|---|---|---|
Either | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ||
Future | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |||
Identity | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ||
IO | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |||
Maybe | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ |
Reader | ✔︎ | ✔︎ | ✔︎ | ||||
Tuple | ✔︎ | ✔︎ | ✔︎ | ||||
State | ✔︎ | ✔︎ | ✔︎ | ✔︎ |
Access like so:
var Either = require('ramda-fantasy').Either;