Proposal: add fromRight and fromLeft to Data.Either

Andreas Abel andreas.abel at ifi.lmu.de
Mon May 30 10:54:26 UTC 2016


On 30.05.2016 09:29, lennart spitzner wrote:
> For the lazy; `either` defines:
>
>> Data.Either.Combinators.fromLeft  :: a -> Either a b -> a

This is the thing we want.


-- 
Andreas Abel  <><      Du bist der geliebte Mensch.

Department of Computer Science and Engineering
Chalmers and Gothenburg University, Sweden

andreas.abel at gu.se
http://www2.tcs.ifi.lmu.de/~abel/


More information about the Libraries mailing list