A Down newtype in Data.Ord?
Sjoerd Visscher
sjoerd at w3future.com
Sat Nov 19 12:07:22 CET 2011
I like the concept, but not the name. Inverse (or Inv) would be a better name imho.
Sjoerd
On Nov 18, 2011, at 8:48 PM, Daniel Peebles wrote:
> I noticed that the Down newtype (whose Ord instance inverts its payload's ordering) currently only exists in GHC.Exts, and it seems like something fairly generally useful. What do people think of moving it to (or re-exporting it from) Data.Ord? Moving it would be nicer, but the fancy list comprehension desugaring might want it in GHC.Exts, so I'm not sure what the consequences would be.
>
> Anyone have comments/ideas?
>
> Thanks,
> Dan
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
More information about the Libraries
mailing list