Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1.26 KB

File metadata and controls

55 lines (38 loc) · 1.26 KB

v0.16.0

** breaking changes **

  • Evaluate variant match blocks in the match() caller's context
  • Variant match blocks are passed the variant's values as arguments (first argument is no longer the variant instance)
  • Variant matchers no longer accept arguments for naming the variant's values; the names are determined by the block's arguments.

v0.14.1

  • Make Ruby 1.9.3 compatible

v0.14.0

  • Add Result#+
  • Alias pipe with << for left association
  • Make the None convenience wrapper always return instance
  • Add global convenience typdef for Success, Failure

v0.13.0

  • Add Option#value_to_a
  • Add Option#+
  • Make None a real monad (little impact on the real world)
  • Add Either
  • Add Option#value_or
  • None#value is now private

v0.12.1

  • Fix backwards compatibility with Ruby < 2.0.0

v0.12.0

  • Add Option
  • Nest Success and Failure under Result

v0.10.0

** breaking changes **

  • Remove Either#<<
  • Rename Either to Result
  • Add Result#pipe aka Result#**
  • Add Result#map and Result#map_err

v0.9.0

** breaking changes **

  • Remove Either.attempt_all in favor of Either#>> and Either#>= This greatly reduces the complexity and the code necessary.

0.8.0 - v0.8.1

  • Introduce Either#>> and Either#>=