[Haskell-cafe] Mixing C and Haskell code in the same file

Henk-Jan van Tuyl hjgtuyl at chello.nl
Sun Jul 12 09:05:15 EDT 2009


On Fri, 10 Jul 2009 15:24:51 +0200, Maurí­cio <briqueabraque at yahoo.com>  
wrote:

> 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

-- 
Reagrds,
Henk-Jan van Tuyl


--
http://functor.bamikanarie.com
http://Van.Tuyl.eu/
--




More information about the Haskell-Cafe mailing list