Proposal: Show and Read for Data.Ord.Down

Krzysztof Gogolewski krz.gogolewski at gmail.com
Wed Sep 25 15:17:30 CEST 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/20130925/09ab3202/attachment.htm>


More information about the Libraries mailing list