GHCI Can't Find Module But GHC Can
Simon Marlow
simonmar@microsoft.com
Thu, 27 Jun 2002 12:10:31 +0100
> > 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.
>=20
> 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