You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Xor in Cats has been removed in favour of Either in the Scala STD lib (see typelevel/cats#1192). That means cyclops-react is probably unique in having a sum type called Xor.
Javaslang has also made it's Either type right biased (see vavr-io/vavr#674) which lowers the value add by having an Xor type in cyclops-react.
I think there is value in having a set of lazy Either types, with in built tail recursion, in cyclops-sum-types.
johnmcclean
changed the title
Rename Xor to Either, move to cyclops-sum-types, make totally Lazy & tail recursive
Move Xor and Ior to cyclops-sum-types
Dec 1, 2016
Xor in Cats has been removed in favour of Either in the Scala STD lib (see typelevel/cats#1192). That means cyclops-react is probably unique in having a sum type called Xor.
Javaslang has also made it's Either type right biased (see vavr-io/vavr#674) which lowers the value add by having an Xor type in cyclops-react.
I think there is value in having a set of lazy Either types, with in built tail recursion, in cyclops-sum-types.
Tail recursion optimization allows implementations such as https://gist.github.com/johnmcclean-aol/e2e6f549afe5031205fb25ed44002647#file-what-the-present-of-java-can-look-like-java
The text was updated successfully, but these errors were encountered: