An open API service indexing awesome lists of open source software.

https://github.com/umesh-timalsina/ts-monads

Monads Playground in TypeScript
https://github.com/umesh-timalsina/ts-monads

functional-programming typescript

Last synced: 8 months ago
JSON representation

Monads Playground in TypeScript

Awesome Lists containing this project

README

          

[![CI](https://github.com/umesh-timalsina/ts-monads/actions/workflows/CI.yml/badge.svg)](https://github.com/umesh-timalsina/ts-monads/actions/workflows/CI.yml)
# ts-monads

Playing with [`monads`](https://en.wikipedia.org/wiki/Monad_(functional_programming)) in typescript.

## Current Implementations

- [`Result`](./lib/Result.ts) : Result Object Inspired from initial implementation by @brollb, [here](https://github.com/deepforge-dev/webgme-json-importer/blob/1c3622381d751f61e8d51874cd6189438b1b2ac4/lib/common/JSONImporter/Utils.ts#L98-L132)
- [`MayBe`](./lib/Maybe.ts): Optional Type wrapper with null