dry-monads
This is a port of the Ruby gem dry-monads by dry-rb.
For usage examples read the Ruby dry-monads documentation.
CAUTION: This project in still under active development. Use at your own risk.
TODOs
- Dry::Monads::Either::Right
- Dry::Monads::Either::Left
- Dry::Monads::Maybe::Some
- Dry::Monads::Maybe::None
- Either#to_maybe
- Maybe#to_either
- Dry::Monads::Try
- integration specs for Either
- integrations specs for Maybe
Installation
Add this to your application's shard.yml
:
dependencies:
dry-monads:
github: dry-cr/dry-monads
Then run crystal deps
to install dependencies.
Usage
require "dry-monads"
TODO: Write usage instructions here
Development
TODO: Write development instructions here
Contributing
- Fork it ( https://github.com/dry-cr/dry-monads/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- ttdonovan Tanner Donovan - creator, maintainer