ramda-fantasy

Fantasy Land compatible types for easy integration with Ramda

Usage no npm install needed!

<script type="module">
  import ramdaFantasy from 'https://cdn.skypack.dev/ramda-fantasy';
</script>

README

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;

available translations

Spanish