0.2.2 • Published 11 years ago
nads v0.2.2
Mo' nads for Javascript
Nads is a gateway drug to programming with algebraic datatypes for Javascript. Nads curates a collection of the most readily applicable Fantasy-Land compatible assets.
Types
nads.Maybe
: the Maybe Monad from folktale.nads.Either
: the Either Monad from folktale.nads.Validation
: the Validation Applicative from folktale.
Functions
nads.Try
: wraps computations that may fail, ie. throw anError
, and outputs anEither
with a success value on the right and a failure on the left.
0.2.2
11 years ago