RE: Re[2]: How to find out the C type signature corresponding to a Haskell function type in FFI?

10 Mar
2006
10 Mar
'06
5:58 a.m.
On 09 March 2006 16:39, Bulat Ziganshin wrote:
Hello Simon,
Thursday, March 9, 2006, 5:08:09 PM, you wrote:
for small "home" projects you can even use "Int" and "int" which would work in most of Haskell implementations
Yes, and to give a concrete example: HsInt and int are different types on x86_64 (and most other 64-bit C implementations).
yes, it's better to use "Int" and "long" types :)
I hope that smiley means you're joking... Cheers, Simon
7011
Age (days ago)
7011
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow