[Haskell-cafe] Getting segmentation fault when profiling, despite `-K100M'.

Christopher Wilson christopher.j.wilson at gmail.com
Tue Aug 16 19:46:28 CEST 2011

On Tue, Aug 16, 2011 at 12:42 PM, Niklas Larsson <metaniklas at gmail.com> 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:


Chris Wilson <christopher.j.wilson at gmail.com>

More information about the Haskell-Cafe mailing list