<div dir="ltr">I'm personally -1 on this. <div><br></div><div>A large portion of the community is vehemently against adding new partial functions, and they have to share base with the rest of us. I'd say more people want to remove fromMaybe, head, tail, etc. than want to double down on the pattern at this time.<div><br></div><div>-Edward</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 20, 2016 at 4:08 PM, Anton Felix Lorenzen <span dir="ltr"><<a href="mailto:anfelor@posteo.de" target="_blank">anfelor@posteo.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When working with Either,<br>
I am often missing two simple functions:<br>
fromRight :: Either a b -> b<br>
fromLeft  :: Either a b -> a<br>
<br>
It has been implemented a couple of times:<br>
<a href="http://hayoo.fh-wedel.de/?query=fromRight" rel="noreferrer" target="_blank">http://hayoo.fh-wedel.de/?query=fromRight</a><br>
<br>
But I don't want to depend on yet another library<br>
for such a basic function.<br>
<br>
Could it be added?<br>
<br>
Anton<br>
_______________________________________________<br>
Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org" target="_blank">Libraries@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a><br>
</blockquote></div><br></div>