Proposal: add fromRight and fromLeft to Data.Either

M Farkas-Dyck m.farkasdyck at gmail.com
Mon May 30 06:16:06 UTC 2016


On 20/05/2016, Anton Felix Lorenzen <anfelor at posteo.de> wrote:
> fromRight :: Either a b -> b
> fromLeft  :: Either a b -> a

-1 partial functions in base

On 21/05/2016, Edward Kmett <ekmett at gmail.com> wrote:
> remove [fromJust], head, tail

+1 ☺


More information about the Libraries mailing list