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.
- 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
Add this to your application's shard.yml
:
dependencies:
dry-monads:
github: dry-cr/dry-monads
Then run crystal deps
to install dependencies.
require "dry-monads"
TODO: Write usage instructions here
TODO: Write development instructions here
- 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
- ttdonovan Tanner Donovan - creator, maintainer