'loadModule' now takes a ModSummary which should be enough to emulate checkAndLoadModule with the new API. It's in head and should be in stable soon.
2008/9/30 David Waern <[EMAIL PROTECTED]>: > 2008/9/30 Simon Marlow <[EMAIL PROTECTED]>: >>> flag <- load LoadAllTargets >> >> This is a problem. You're loading all the modules twice: once in the line >> above, and once again when you typecheck each module below. > > Oh, sorry! I should have remembered this problem. I wonder why I never > switched to checkAndLoadModule when it became available. Perhaps I > just forgot to do it. > > Anyway, if you manage to fix the GHC API, that would be great. Then > I'll make sure that Haddock uses it more sensibly. > > David > _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
