Re: [Haskell-cafe] Re: Call Graph Tool?

2008-06-27 Thread Evan Laforge
Assuming I get it included, is there any features in particular you'd want to see in there? Note that if I do have it produce visualisations, they'll be static images as part of an analysis report rather than being interactive. I was just recently wondering about something like this. I'd

Re: [Haskell-cafe] Re: Call Graph Tool?

2008-06-27 Thread Claus Reinke
Assuming I get it included, is there any features in particular you'd want to see in there? Note that if I do have it produce visualisations, they'll be static images as part of an analysis report rather than being interactive. I'd like the ability to show individual module dependencies, and

Re: [Haskell-cafe] Re: Call Graph Tool?

2008-06-27 Thread Dougal Stanton
On Fri, Jun 27, 2008 at 11:39 AM, Claus Reinke [EMAIL PROTECTED] wrote: If you wanted to go down that route, try using 'ghc --make -v2' and translate that dependency graph to dot. Also, if you want to get a quick 'n dirty list of which of your own files depend on which others, ghc -M $main.hs

Re: [Haskell-cafe] Re: Call Graph Tool?

2008-06-27 Thread Malcolm Wallace
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

Re: [Haskell-cafe] Re: Call Graph Tool?

2008-06-27 Thread Josef Svenningsson
On Fri, Jun 27, 2008 at 12:39 PM, Claus Reinke [EMAIL PROTECTED] wrote: Assuming I get it included, is there any features in particular you'd want to see in there? Note that if I do have it produce visualisations, they'll be static images as part of an analysis report rather than being

Re: [Haskell-cafe] Re: Call Graph Tool?

2008-06-27 Thread Claus Reinke
If you wanted to go down that route, try using 'ghc --make -v2' and translate that dependency graph to dot. Also, if you want to get a quick 'n dirty list of which of your own files depend on which others, ghc -M $main.hs works quite well. I've had some success in the past shoving this stuff

Re: [Haskell-cafe] Re: Call Graph Tool?

2008-06-27 Thread C.M.Brown
Hi Ivan, Assuming I get it included, is there any features in particular you'd want to see in there? Note that if I do have it produce visualisations, they'll be static images as part of an analysis report rather than being interactive. I'd basically like to see a graph of the overall

[Haskell-cafe] Re: Call Graph Tool?

2008-06-26 Thread Ivan Miljenovic
C.M.Brown cmb21 at kent.ac.uk writes: I have approx. 100+ source files and I was wondering if anyone has a tool that would let me see a visual call graph for the source files; i.e. a visual hierarchy of which module is imported by what, and so forth. For my maths honours thesis, I'll be

Re: [Haskell-cafe] Re: Call Graph Tool?

2008-06-26 Thread Jeremy Apthorp
2008/6/27 Ivan Miljenovic [EMAIL PROTECTED]: C.M.Brown cmb21 at kent.ac.uk writes: I have approx. 100+ source files and I was wondering if anyone has a tool that would let me see a visual call graph for the source files; i.e. a visual hierarchy of which module is imported by what, and so

Re: [Haskell-cafe] Re: Call Graph Tool?

2008-06-26 Thread Ivan Lazar Miljenovic
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 27 Jun 2008 15:18:45 +1000 Jeremy Apthorp [EMAIL PROTECTED] wrote: 2008/6/27 Ivan Miljenovic [EMAIL PROTECTED]: C.M.Brown cmb21 at kent.ac.uk writes: I have approx. 100+ source files and I was wondering if anyone has a tool that would