ramda-fantasy
Fantasy Land1 compatible types for easy integration with Ramda2.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 | Setoid3 | Semigroup4 | Functor5 | Applicative6 | Monad7 | Foldable8 | ChainRec16 | | --------------- | :----------: | :------------: | :----------: | :--------------: | :--------: | :-----------: | :------------: | | Either9 | ✔︎ | | ✔︎ | ✔︎ | ✔︎ | | ✔︎ | | Future10 | | | ✔︎ | ✔︎ | ✔︎ | | ✔︎ | | Identity11 | ✔︎ | | ✔︎ | ✔︎ | ✔︎ | | ✔︎ | | IO12 | | | ✔︎ | ✔︎ | ✔︎ | | ✔︎ | | Maybe13 | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | | Reader14 | | | ✔︎ | ✔︎ | ✔︎ | | | | Tuple15 | ✔︎ | ✔︎ | ✔︎ | | | | | | State17 | | | ✔︎ | ✔︎ | ✔︎ | | ✔︎ |Access like so:
var Either = require('ramda-fantasy').Either;