Fantasy Land compatible types for easy integration with Ramda.
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.
Name | Setoid | Semigroup | Functor | Applicative | Monad | Foldable |
---|---|---|---|---|---|---|
Either | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ||
Future | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ||
Identity | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ||
IO | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ||
Maybe | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
Reader | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ||
Tuple | ✔︎ | ✔︎ | ✔︎ |
Access like so:
var Either = require('ramda-fantasy').Either;