<div class="gmail_quote">On Thu, Mar 12, 2009 at 8:45 PM, Antoine Latter <span dir="ltr">&lt;<a href="mailto:aslatter@gmail.com">aslatter@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
So the Ord instance is wrong for the PortNumber type?  Well, maybe not<br>
wrong.</blockquote><div><br>It&#39;s out and out wrong. You get different results on machines of different endianness. Now, this begs the question of why not just simply use an unwrapped Word16 instead :-)<br></div></div>