19 Mar
2002
19 Mar
'02
6:20 p.m.
On Tue, 19 Mar 2002 09:56:49 +0000 "Colin Runciman" <colin@cs.york.ac.uk> wrote:
Are there any tools to perform program slicing on Haskell? I often find myself wanting to find all "fromJusts" invoked from the current function, or all functions that use a particular member of my monad's ADT.
Assuming that what you want to see are the applications of these functions that occur at run-time, and the evaluation contexts in which they arise, you could try the Hat tracing tools (http://www.cs.york.ac.uk/fp/hat/).
Actually I was hoping for a static tool. But now HAT works with GHC I'll be trying it out. Thanks. Sengan