dry-rb / dry-transaction

Business transaction DSL
http://dry-rb.org/gems/dry-transaction
MIT License
468 stars 55 forks source link

Rename the Either monad to Result #81

Closed flash-gordon closed 6 years ago

flash-gordon commented 6 years ago

Starting dry-monads 0.4.0 the Either monad was renamed to Result, Left and Right constructors became Failure and Success accordingly which better reflects the usual purpose of using this monad. For now, the change is backward compatible, but we'll deprecate and remove old constructors before 1.0.