Permalink
Browse files

Bump version v0.0.4

  • Loading branch information...
1 parent 0eb4c61 commit dd09ed9d90750f983a53a9ea1ac9e22b9be00049 @pzol committed May 1, 2012
Showing with 17 additions and 1 deletion.
  1. +16 −0 CHANGELOG.md
  2. +1 −1 lib/monadic/version.rb
View
@@ -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
@@ -1,3 +1,3 @@
module Monadic
- VERSION = "0.0.3"
+ VERSION = "0.0.4"
end

0 comments on commit dd09ed9

Please sign in to comment.