Proposal: give a field name to Data.Ord.Down

Fumiaki Kinoshita fumiexcel at
Fri May 3 02:56:05 UTC 2019

It's awkward to write a lambda to unwrap this kind of wrappers. I propose

newtype Down a = Down { getDown :: a }

with the Show/Read instances as if they didn't have named fields.

The same goes for Control.Arrow.ArrowMonad, although I'm not sure about its
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Libraries mailing list