[Haskell-cafe] Re: Haskell not ready for Foo [was: Re:
Hypothetical Haskell job in New York]
jgoerzen at complete.org
Thu Jan 8 17:48:20 EST 2009
Bardur Arantsson wrote:
> Thanks. For some reason I hadn't thought to use
> (fromIntegral x)::PortNumber
> I guess I got stuck on the idea of constructing a PortNum directly and
> didn't think beyond that. (Maybe PortNum should really be an abstract
No problem. I knew exactly what your problem was because I had the
exact same blinders on when I first learned the Haskell networking API.
It would be helpful to have a pointer to this in the Haddock docs,
because it is non-intuitive to somebody just learning it.
> I guess the API isn't all that idiosyncratic after all :).
Just a touch under-documented ;-)
More information about the Haskell-Cafe