Proposal: Show and Read for Data.Ord.Down

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


Hello,

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: <http://www.haskell.org/pipermail/libraries/attachments/20131011/09ab3202/attachment.html>


More information about the Libraries mailing list