<div dir="ltr">This is a case where a line of documentation could save a lot of people a lot of trouble. Anyone have a clone of network handy that they could make a pull request from?<br><br>Jeff<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Apr 10, 2013 at 4:31 PM, Florian Hofmann <span dir="ltr">&lt;<a href="mailto:fhofmann@techfak.uni-bielefeld.de" target="_blank">fhofmann@techfak.uni-bielefeld.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:&#39;courier new&#39;,monospace">Ah ok ... thanks for the clarification</div>
</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/10 Brandon Allbery <span dir="ltr">&lt;<a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>&gt;</span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>On Wed, Apr 10, 2013 at 3:26 AM, Florian Hofmann <span dir="ltr">&lt;<a href="mailto:fhofmann@techfak.uni-bielefeld.de" target="_blank">fhofmann@techfak.uni-bielefeld.de</a>&gt;</span> wrote:<br>


</div><div class="gmail_extra">
<div class="gmail_quote"><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><font face="courier new, monospace">I might be mistaken, but is there a bug in the Show instance of PortNum?</font></div>



</div></blockquote><div><br></div></div><div>Not a bug, an annoying misdesign (IMO). A PortNum is actually in network byte order. If you extract it, you get the original port; if you simply show it, you see it byteswapped on little-endian platforms.</div>


<span><font color="#888888">
<div><br></div></font></span></div><span><font color="#888888">-- <br><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>



<div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</font></span></div></div>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>