On Tue, Aug 16, 2011 at 12:42 PM, Niklas Larsson <[email protected]> wrote: > If you want to call a Haskell function from C you should do a "foreign > export" of the function, that will create a stub function with C > calling convention that you can call.
I put an example of how to do this on Rosetta Code: http://rosettacode.org/wiki/Use_another_language_to_call_a_function#Haskell -- Chris Wilson <[email protected]> _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
