On Mon, Nov 7, 2011 at 13:44, Johannes Waldmann <waldmann@imn.htwk-leipzig.de> wrote:
Does this work with  "ghc -XForeignFunctionInterface" ?
http://en.wikibooks.org/wiki/Haskell/FFI#Enumerations

I am getting a syntax error right after "#{".
But then, the description is for "hsc2hs" (not  ghc).

hsc2hs translates metalanguage such as that to the code GHC expects.

--
brandon s allbery                                      allbery.b@gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms