[GHC] #974: Add partitionEithers, lefts, rights to Data.Either

roconnor at theorem.ca roconnor at theorem.ca
Fri Nov 3 09:57:35 EST 2006


On Wed, 1 Nov 2006, Henning Thielemann wrote:

> On Wed, 1 Nov 2006 roconnor at theorem.ca wrote:
>
>> I've removed the controvertial isLeft, fromLeft, isRight, fromRight from the
>> trac, and added lefts and rights. The controvertial additions can be put in a
>> new trac. Let us focus on the the noncontrovertial additions first.
>>
>> I've also renamed splitEithers into unzipEithers, which I think is better.
>
> What was the reason against 'partitionEither' ? 'unzip' suggests there is
> also a 'zip'.

I have attached a new patch to the trac that now uses the identifier 
partitionEithers.

-- 
Russell O'Connor                                      <http://r6.ca/>
``All talk about `theft,''' the general counsel of the American Graphophone
Company wrote, ``is the merest claptrap, for there exists no property in
ideas musical, literary or artistic, except as defined by statute.''


More information about the Libraries mailing list