[Haskell-cafe] Maybe to Either -- is there a better way?
Yitzchak Gale
gale at sefer.org
Tue Aug 3 05:51:57 EDT 2010
I wrote:
>> maybeToEither = flip maybe Right . Left
Ivan Lazar Miljenovic wrote:
> Remember, some people don't like flip! :p
> maybeToEither = (`maybe` Right) . Left
Yes, absolutely!
>> ...go ahead and upload it to Hackage
> Just give it a good name, rather than "fooToolkit", "barToolkit", etc.
How about calling it "fgl"?
No, please don't really. I'm just teasing Ivan.
Regards,
Yitz
More information about the Haskell-Cafe
mailing list