[Haskell-cafe] 64-bit #const with hsc2hs?

Dean Herington heringtonlacey at mindspring.com
Tue Jul 13 01:26:51 EDT 2010


Does anyone know if I can bring a 64-bit (long long or unsigned long 
long) value from C-land into Haskell via hsc2hs?  #const on such a 
value seems to provide only the low 32 bits, at least in my 
environment (Haskell Platform 2009.2.0.2 on Windows).  I've tried to 
create a 64-bit variant of #const without success.

Dean


More information about the Haskell-Cafe mailing list