[Haskell-cafe] Bug in Network package

Florian Hofmann fhofmann at techfak.uni-bielefeld.de
Wed Apr 10 09:26:12 CEST 2013


I might be mistaken, but is there a bug in the Show instance of PortNum?


λ PortNum 1
256
λ PortNum 2
512
λ PortNum 3
768

λ let (PortNum x) = PortNum 10
λ x
10

Tested with network-2.4.1.2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130410/f75435aa/attachment.htm>


More information about the Haskell-Cafe mailing list