Skip to content

🐏✨ Fantasy-Land compatible types for easy integration with Ramda.js

License

Notifications You must be signed in to change notification settings

AllJointTW/ramda-fantasy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ramda-fantasy

Fantasy Land compatible types for easy integration with Ramda.

Project status

Ramda-Fantasy is no longer developed. There are a number of excellent libraries providing algebraic datatypes in JavaScript. The existing npm releases of Ramda-Fantasy will remain available indefinitely.

We recommend a number of alternative libraries such as Sanctuary, Folktale, Fluture, and Fantasy-Land.

Specifically, we suggest these replacements:

† Currently only available as part of Sanctuary.

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;

available translations

Spanish

About

🐏✨ Fantasy-Land compatible types for easy integration with Ramda.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%