
12 Aug
2002
12 Aug
'02
7:02 a.m.
I have one program in haskell that function in C passes two arrays for one which adds the two and returns one 3ยบ. How I make to import this function and to use it in my program? Which is the mapping of the arrays of haskell for the C?
Perhaps you should take a look at the FFI spec, here: http://www.cse.unsw.edu.au/~chak/haskell/ffi/ and the information specific to using GHC with the FFI, here: http://www.haskell.org/ghc/docs/latest/html/users_guide/ffi.html Cheers, Simon