[Haskell-cafe] Suggestion for Network.Socket in regards to PortNumber

Donn Cave donn at avvanta.com
Sun Jun 21 18:02:59 EDT 2009

Quoth John Van Enk <vanenkj at gmail.com>,

[... example showing that PortNum is stored in network byte order ]

> Notice that using the PortNum constructor does not at all do what the
> user expects. This really should be a hidden constructor.

Could you elaborate, what does the user expect?


More information about the Haskell-Cafe mailing list