[Haskell-cafe] Using of C constants in Haskell sources; Determining compilation environment (Unix vs Windows)

Jeremy Shaw jeremy.shaw at linspireinc.com
Tue Jul 11 14:47:09 EDT 2006


At Tue, 11 Jul 2006 19:28:13 +0400,
Bulat Ziganshin wrote:
> 
> Hello Haskell,
> 
> what is a best way to bring C constant (defined in header file) into
> the Haskell source? 

If this ^^^^^^^ was your entire question, I would say, use hsc2hs.

http://haskell.org/ghc/docs/latest/html/users_guide/hsc2hs.html

Maybe that is still a valid answer for your entire question?

j.



More information about the Haskell-Cafe mailing list