Skip to content

Commit

Permalink
Update CHANGELOG [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
flash-gordon committed Nov 11, 2017
1 parent db3c0aa commit 7063a5e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@
* `Maybe#success?` and `Maybe#failure?` (aliases for `#some?` and `#none?`) (flash-gordon)
* `Either#flip` inverts a `Result` value (flash-gordon)
* `List#map` called without a block returns an `Enumerator` object (flash-gordon)
* Right-biased monads (`Maybe`, `Result`, and `Try`) now implement the `===` operator which is used for equality checks in the `case` statement (flash-gordon)
```ruby
case value
when Some(1..100) then :ok
when Some { |x| x < 0 } then :negative
when Some(Integer) then :invalid
else raise TypeError
end
```

## Deprecated

Expand Down

0 comments on commit 7063a5e

Please sign in to comment.