
Dual already has an Ord instance.
Sent from my iPhone
On Nov 19, 2011, at 4:46 PM, Ben Millwood
On Sat, Nov 19, 2011 at 8:32 PM, Felipe Almeida Lessa
wrote: On Sat, Nov 19, 2011 at 6:19 PM, Sjoerd Visscher
wrote: Desc has the same problem as Down: it doesn't make clear that it makes an already descending ordering ascending.
Desc reminds me of tables where you click the header and change between ascending and descending. Invert, Dual, Down and Opposite don't remind me of anything regarding orders at all. What are you inverting? Dual of what? Of couse, that's only my humble opinion. =)
Just to confuse and frustrate things further, I'm going to suggest Reverse. I think that's the normal word I'd use to describe a flipped ordering.
I don't see any harm in reusing the existing Dual newtype from Monoid, though.
_______________________________________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/mailman/listinfo/libraries