2008/10/7 Simon Marlow <[EMAIL PROTECTED]>:
> I think you're missing the topSortModuleGraph.  For an (old) example, look
> in utils/ghctags.  It is using checkAndLoadModule, but you should be able to
> replace that with parseModule/typecheckModule/loadModule.

I didn't look at this much, but if I add topSortModuleGraph, I get
something that should be equivalent to what utils/ghctags does, modulo
GHC API changes. But building base package fails with an error saying
"GHC/Unicode.lhs is trying to import GHC/Base.lhs but it's not
loaded", even though I think it should be loaded at that point. I'll
look more into this later.

Thanks,
David

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to