Am Dienstag 17 November 2009 21:09:26 schrieb michael rice:
> What is GHC.Int.Int32? Can't find it on Hoogle.

Int32 is the guaranteed-to-be-32-bits integer type, it's defined in the module 
GHC.Int, 
typically it's imported via Data.Int (because, naturally, using GHC's own 
modules isn't 
portable).
Due to the way ghci's :type command works, such types are printed qualified.

The hash function must have a return type of fixed and specified width, or 
porting the app 
between 32-bit and 64-bit platforms could have enormous performance impact, so 
it can't be 
plain Int.

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to