/nads

Mo' nads for Javascript. Curated collection of Fantasy-Land compatible assets.

Primary LanguageJavaScriptMIT LicenseMIT

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

Functions

  • nads.Try: wraps computations that may fail, ie. throw an Error, and outputs an Either with a success value on the right and a failure on the left.