A Down newtype in Data.Ord?

wren ng thornton wren at freegeek.org
Sun Nov 20 23:56:52 CET 2011


On 11/19/11 3: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.

FWIW I call the newtype Reverse in my local libraries. Another option 
would be Converse. (Both of which are a bit less ambiguous than Inverse.)

-- 
Live well,
~wren



More information about the Libraries mailing list