A Down newtype in Data.Ord?

Sjoerd Visscher sjoerd at w3future.com
Mon Nov 21 00:11:27 CET 2011


Reverse is better indeed, but +1 on any name that ends with -verse.

Sjoerd

On Nov 20, 2011, at 11:56 PM, wren ng thornton wrote:

> 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
> 
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
> 




More information about the Libraries mailing list