In local.glasgow-haskell-users, you wrote:
>Think of it this way: mkPortNumber has been renamed to fromIntegral, and
>now supports making port numbers from any integral type, not just Int.
>I didin't see the need for a special purpose convesion from Int, when
>fromIntegral does the job in a much more general way.  

Okay, here a nice way to handle this:

#if __GLASGOW_HASKELL__ >= 501
 mkPortNumber = fromIntegral
#endif
-- 
Abstrakte Syntaxtr�ume.
Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME

_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to