> > try using 'ghc --make -v2' and translate that dependency graph to dot. > > "ghc -M $main.hs" works quite well
hmake -M Main.hs gives much the same output as ghc -M, but without side-effecting your Makefile. Even better, hmake -g Main.hs gives the pure module graph dependencies without the .hs/.o clutter. Caveat: You may need some extra commandline flags like -package base, since hmake does not add those automatically. Regards, Malcolm _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe