Haskell slicing tool?

Colin Runciman colin@cs.york.ac.uk
Tue, 19 Mar 2002 09:56:49 +0000


> 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/).

Colin R