<div dir="auto"><div>+1<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun., 5 May 2019, 06:21 chessai ., <<a href="mailto:chessai1996@gmail.com">chessai1996@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">+1</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 2, 2019, 10:56 PM Fumiaki Kinoshita <<a href="mailto:fumiexcel@gmail.com" target="_blank" rel="noreferrer">fumiexcel@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It's awkward to write a lambda to unwrap this kind of wrappers. I propose<div><br></div><div>newtype Down a = Down { getDown :: a }</div><div><br></div><div>with the Show/Read instances as if they didn't have named fields.</div><div><br></div><div>The same goes for Control.Arrow.ArrowMonad, although I'm not sure about its usefulness...</div></div>
_______________________________________________<br>
Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org" rel="noreferrer noreferrer" target="_blank">Libraries@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries" rel="noreferrer noreferrer noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a><br>
</blockquote></div>
_______________________________________________<br>
Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org" target="_blank" rel="noreferrer">Libraries@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries" rel="noreferrer noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a><br>
</blockquote></div></div></div>