[Haskell-cafe] Calling Haskell from other languages?
Colin Paul Adams
colin at colina.demon.co.uk
Tue Nov 11 15:07:55 EST 2008
>>>>> "John" == John Goerzen <jgoerzen at complete.org> writes:
>> Read the FFI Report. It is relatively readable and
>> comprehensive. http://www.cse.unsw.edu.au/~chak/haskell/ffi/
>> And yes, you will have to use C as an intermediary, though you
>> may not have to actually write any C. You simply expose the
>> Haskell functions in whatever form the other language expects.
>> You'll almost certainly have to write marshalling code of some
John> I often like to look at these situations as an opportunity
John> to introduce modularity and piping. Do you really need them
John> running in the same address space?
And thanks everyone for your help. I have enough to go on now.
More information about the Haskell-Cafe