README.md in ribimaybe-0.0.12 vs README.md in ribimaybe-0.0.13
- old
+ new
@@ -89,10 +89,18 @@
# You guessed it! If have Nothing, you get Nothing.
Nothing.bind do |x|
rturn(x * x)
end # => Nothing
+
+# We even have >= but you need to pass a Proc or a lambda.
+Just(42) >= -> (x) do
+ rturn(x - 21) >= -> (y) do
+ if x * x > 100 then rturn(y) else rturn(x) end
+ end
+end
```
+
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)