Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bump version v0.0.4

  • Loading branch information...
commit dd09ed9d90750f983a53a9ea1ac9e22b9be00049 1 parent 0eb4c61
@pzol authored
Showing with 17 additions and 1 deletion.
  1. +16 −0 CHANGELOG.md
  2. +1 −1  lib/monadic/version.rb
View
16 CHANGELOG.md
@@ -1,5 +1,19 @@
# Changelog
+## v0.0.4
+
+To be more idiomatic rubyuesque, rename `#value` to `#fetch`, which throws now an `NoValueError`.
+Thanks to [@pithyless](https://twitter.com/#!/pithyless) for the suggestion.
+
+It now supports the Either monad, e.g.
+
+ either = Success(0).
+ bind { Success(1) }.
+ bind { Failure(2) }.
+ bind { Success(3) }
+
+ either == Failure(2) # the third bind is NOT executed
+
## v0.0.3
`Some#map` and `Some#select` accept proc and block, you can now use:
@@ -9,3 +23,5 @@
Option("FOO").downcase # old
Removed `#none?`, please use `#empty?` instead.
+
+`Some` and `None` are now in the `Monadic` namespace, however they are aliased when requiring `monadic`
View
2  lib/monadic/version.rb
@@ -1,3 +1,3 @@
module Monadic
- VERSION = "0.0.3"
+ VERSION = "0.0.4"
end
Please sign in to comment.
Something went wrong with that request. Please try again.