> Wed, 6 Jun 2001 10:17:34 +0100, Simon Marlow
> <[EMAIL PROTECTED]> pisze:
>
> > Think of it this way: mkPortNumber has been renamed to
> fromIntegral, and
> > now supports making port numbers from any integral type,
> not just Int.
>
> BTW, why PortNumber is not just Int?
It's kept in network byte order. We could make it an Int and do the
translation to/from network byte order whenever we need to pass one
outside Haskell - I didn't investigate doing it this way, it may or may
not be simpler.
Cheers,
Simon
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users