[GHC5] Creating Socket.PortNumber from Int?

Marcin 'Qrczak' Kowalczyk qrczak@knm.org.pl
6 Jun 2001 18:09:39 GMT


Wed, 6 Jun 2001 10:17:34 +0100, Simon Marlow <simonmar@microsoft.com> 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?

-- 
 __("<  Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK