out of memory when running haddock
David Waern
david.waern at gmail.com
Tue Oct 7 08:26:59 EDT 2008
2008/10/7 Simon Marlow <marlowsd at gmail.com>:
> 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
More information about the Cvs-ghc
mailing list