Does anyone have an example of the new "box" for `...
# arrow
i
Does anyone have an example of the new "box" for
either
?
s
What do you mean new "box"?
i
message has been deleted
s
Oh, it's not a new "box" rather than a new DSL to work with
either
(and other data types) We found a new encoding to re-encode
Either.fx
, and it'll also allow us to build and expose more functionality besides simply flattening
flatMap
into direct syntax. So the idea is that we'll move away from
Either.fx
based on
flatMap
instead replace it with computational blocks like F# has that can do more than we currently offer in
fx
.
i
Oh cool, so looks like
either { plusOne(it) }
or
maybe { plusOne(it) }
?
s
Yes, exactly.
👍 2