Proposal #2560 again: add newtype Down/ReverseOrd to Data.Ord

Sittampalam, Ganesh ganesh.sittampalam at credit-suisse.com
Tue Jan 6 11:01:50 EST 2009


Twan wrote:

> kahl at cas.mcmaster.ca wrote:

> > -- intended for |qualified| import |as Ord|:
> > newtype Dual a = Dual { unDual :: a } deriving Eq

> In my opinion "dual" is even worse:

"opposite"?

I'm also happy with anything suggested already.

Ganesh

==============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================



More information about the Libraries mailing list