exalted.future
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "exalted.future", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Exalted monadic library.", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/pre63/exalted.future.git", |
@@ -21,7 +21,7 @@ # exalted.future | ||
* There is a divergence form fantasy land where `reduce` is named `cata` and is more similar to [daggy](https://github.com/fantasyland/daggy) than the typical reduce. | ||
* There is a divergence from fantasy land where `reduce` is named `cata` and is more similar to [daggy](https://github.com/fantasyland/daggy) than the typical reduce. | ||
* `fold` always folds on identity `a => a`. | ||
* `Maybe.map` will return Nothing if the callback function return null. In other Words `Just(null)` is impossible, unless you call the 'static' constructor like this `Just.of(null)`. See [this pr](https://github.com/rametta/pratica/issues/15) for some explaination. | ||
* `Maybe.map` will return Nothing if the callback function returns null. In other words `Just(null)` is impossible, unless you call the 'static' constructor like this `Just.of(null)`. See [this pr](https://github.com/rametta/pratica/issues/15) for some explanation. | ||
* Left is not 100% applicative. | ||
* `cata` and some new utilitiies such as `encase`, `head`, `tail`, `get` are inspired by rametta's take on monads in [pratica](https://github.com/rametta/pratica). | ||
* `cata` and some new utilities such as `encase`, `head`, `tail`, `get` are inspired by rametta's take on monads in [pratica](https://github.com/rametta/pratica). | ||
* This is, in many, a revision or evolution of [oncha](https://www.npmjs.com/package/oncha) which I wrote with other people many years ago and is no longer maintained. | ||
@@ -28,0 +28,0 @@ |
32421