[Haskell] 64-bit #const with hsc2hs?

Dean Herington heringtonlacey at mindspring.com
Thu Jul 15 09:10:37 EDT 2010

[No response on haskell-cafe; trying haskell]

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.


More information about the Haskell mailing list