5 ms·
Then you can do this: fmap (either id id) (both ...) ... which is equivalent to: x <- both ... return (case x of Left txt -> txt
by Gabriel439 12y ago
Then you can do this:
fmap (either id id) (both ...)
... which is equivalent to:
x <- both ...
return (case x of
Left txt -> txt
Right txt -> txt)
That removes the `Either` tag and fuses them into a single stream.