Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 957 Bytes

README.md

File metadata and controls

41 lines (26 loc) · 957 Bytes

Monado

This is the power of the monads!

npm (scoped) npm bundle size (scoped)

What's Monado?

Monado is a lightweight library for TypeScript which adds support for common monad data types as seen in functional languages (e.g. Haskell, OCaml) and more modern procedural ones (e.g. Rust, Swift).

It adds the following variants:

  • Result for computations that may lead to errors
  • Option for optional values

Installation

npm install @axaptional/monado

Why Monado?

Development

  • npm build

Documentation

License

This package is available under the Unlicense.

Attribution is not required, but welcome.