Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @blainehansen/monads with all npm packages installed. Try it out:

var monads = require("@blainehansen/monads")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@blainehansen/monads v1.0.2

`Result` and `Maybe` types and accompanying `macro-ts` helper macros that allow a safe, functional way of dealing with errors and nullable values.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free