Permalink
Browse files

Merge branch 'master' of github.com:pzol/monadic

  • Loading branch information...
2 parents 9de7feb + 9bfd75f commit 6b7f9aa695a098bb751e03ad2d7aae9b01a1d4db @pzol committed Jul 2, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 README.md
View
2 README.md
@@ -90,10 +90,12 @@ Maybe(1).to_s == '1'
```
`#or`
+```ruby
Maybe(nil).or(1) == Just(1)
Maybe(1).or(2) == Just(1)
Maybe(nil).or(1) == Just(1)
Maybe(nil).or(nil) == Nothing
+```
Falsey values (kind-of) examples:

0 comments on commit 6b7f9aa

Please sign in to comment.