
12 Jul
2009
12 Jul
'09
1:11 p.m.
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