Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdubourg001/monads
Typescript Implementation of some well-known monads.
https://github.com/mdubourg001/monads
Last synced: 26 days ago
JSON representation
Typescript Implementation of some well-known monads.
- Host: GitHub
- URL: https://github.com/mdubourg001/monads
- Owner: mdubourg001
- Created: 2020-02-10T14:50:35.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-12T00:14:43.000Z (about 3 years ago)
- Last Synced: 2023-03-03T19:12:27.819Z (over 1 year ago)
- Language: TypeScript
- Size: 44.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**Here are TypeScript implementations of some well-known monads.**
_If you want to know about the basics of Monads, read [this excellent article](http://adit.io/posts/2013-04-17-functors,_applicatives,_and_monads_in_pictures.html)._
At the moment, the following monads are implemented (see [monads.ts](https://github.com/mdubourg001/monads/blob/master/monads.ts)):
- Maybe (see [maybe.ts](https://github.com/mdubourg001/monads/blob/master/maybe.ts) for usage examples)
- Either (see [either.ts](https://github.com/mdubourg001/monads/blob/master/either.ts) for usage examples)
- IO (see [io.ts](https://github.com/mdubourg001/monads/blob/master/io.ts) for usage examples)