On Thu, Mar 12, 2009 at 8:45 PM, Antoine Latter <[email protected]> wrote:

> So the Ord instance is wrong for the PortNumber type?  Well, maybe not
> wrong.


It'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 :-)
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to