lazy-space
v0.4.3
Published
Monads and collections in typescript
Downloads
85
Readme
Lazy Space
Monads and Monad Transformers for a more functional Typescript
- Async (wraps Promises)
- Either, Try, Option (for when you are not sure what you have)
- Identity (the simplest monad)
- Lazy (just a monadic wrapper of a parameterless function)
- Reader (a very simple monadic wrapper of a function that reads some state)
- Request (a monad that reads some context and returns an asynchronous result)
- List (a lazy list)
- Stream (experimental reactive stream implementation)
- Tree (a monadic tree)
- and some graph and graph traversals