
28 Oct
2008
28 Oct
'08
11:37 a.m.
On Tue, Oct 28, 2008 at 2:34 AM, Thomas Schilling
GHC contains its own preprocessor, it just needs to be activated using -cpp on the command line or {-# LANGUAGE CPP #-} inside the file. However, I wasn't suggesting that. I was suggesting that before you hand the input to the ghc api, you substitute all occurences of import "foo" by something that the haskell parser understands.
Thanks a lot for your help. I am trying your suggestion at the moment. Anatoly