[Haskell-cafe] Re: Mixing C and Haskell code in the same file
Maurício
briqueabraque at yahoo.com
Sun Jul 12 13:11:53 EDT 2009
>> Is it possible to insert C code directly to, say,
>> .hsc files? I see this construct in ghc user docs:
>
> I think you can find your answer here:
> http://www.haskell.org/ghc/docs/latest/html/users_guide/hsc2hs.html
I did read that. It says I can use "#def" to insert
a C definition, but there are no examples of use, and I
could not find one.
Maurício
More information about the Haskell-Cafe
mailing list