
27 Jun
2002
27 Jun
'02
11:10 a.m.
Aha! GHCi (and ghc --make) has a pre-pass that looks through the file for import declarations so it can build the dependency tree, and it does this without using a proper Haskell parser. I'll bet it's ignoring the CPP directives. Probably it should flag an error, I'll look into it.
Using an improper parser sounds a little delicate.
Yes, it is - I've never really been happy with the way we do that. Sigh, another thing for the TODO list.... Cheers, Simon