Proposal: give a field name to Data.Ord.Down
Fumiaki Kinoshita
fumiexcel at gmail.com
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
usefulness...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20190503/d319724b/attachment.html>
More information about the Libraries
mailing list