[Haskell-cafe] Word32 to Int converions

yin yin at atom.sk
Wed Jul 20 06:45:36 EDT 2005


Bernard Pope wrote:

>On Wed, 2005-07-20 at 11:43 +0200, yin wrote:
>
>>
>>how do I convert an Word32 (or WordXYZ) to Int, or Integer, or Float,
>>...? The Int conversion is the priority.
>>    
>>
>fromIntegral to convert to an instance of Integral, such as Int, Integer
>etc
>
Thank you, but how to "Work32 -> Int"?

Matej 'Yin' Gagyi



More information about the Haskell-Cafe mailing list