
12 Jul
2006
12 Jul
'06
8:08 a.m.
Hello Jeremy, Tuesday, July 11, 2006, 10:47:09 PM, you wrote:
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?
I believe that it the simplest way for programmer. But is that the best way for users? i want to make building/installation as simple as possible using Cabal infrastructure. is it possible that some box will have Cabal, but not hsc2hs installed? -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com