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

roconnor at theorem.ca roconnor at theorem.ca
Wed Nov 1 09:55:50 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 thought partitionEithers was a bit long for an identifier.  (What is the 
distribution for lengths of identifieres in the standard library?) 
However I would agree with partitionEithers if that is what people want.

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