Proposal: Show and Read for Data.Ord.Down

Krzysztof Gogolewski krz.gogolewski at
Fri Oct 11 23:15:06 UTC 2013


I propose to add derived Show and Read instances to Data.Ord.Down. This
should be uncontroversial. Any thoughts?

For reference, Data.Ord.Down is currently defined as

newtype Down a = Down a deriving (Eq)

instance Ord a => Ord (Down a) where
    compare (Down x) (Down y) = y `compare` x

Krzysztof Gogolewski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Libraries mailing list