Open pakoito opened 4 years ago
Wedge
is already implemented as Ior
.
Instead of Smash we are probably gonna call it Option2
following the design from Maybe2
from scalaz:
https://github.com/scalaz/scalaz/blob/series/8.0.x/base/shared/src/main/scala/scalaz/data/maybe2.scala
All of these need to go in the incubator first. @pablisco good luck buddy 👶 :*
I was wrong, `Wedge` is not actually Ior
. Ior is A + B + (A * B)
but Wedge
is 1 + A + B
https://twitter.com/pitopos/status/1247586197758763010
https://hackage.haskell.org/package/smash
https://www.reddit.com/r/haskell/comments/fwp5yl/ann_smash_smashlens_smashmicrolens_smashaeson/
Ior
in Arrow