<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">+1. I do prefer getDown as the field name, but anything is better than nothing.<br><br><div id="AppleMailSignature" dir="ltr">Sent from my iPhone</div><div dir="ltr"><br>On May 4, 2019, at 9:49 PM, George Wilson <<a href="mailto:george@wils.online">george@wils.online</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><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>
</div></blockquote><blockquote type="cite"><div dir="ltr"><span>_______________________________________________</span><br><span>Libraries mailing list</span><br><span><a href="mailto:Libraries@haskell.org">Libraries@haskell.org</a></span><br><span><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a></span><br></div></blockquote></body></html>