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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to