HAT-STACK(1)

NAME
hat-stack - "virtual" stack trace for a crashed Haskell program

SYNOPSIS
hat-stack prog[.hat]

DESCRIPTION
For aborted computations, that is computations that terminated with an error message or were interrupted, hat-stack shows in which function call the computation was aborted. It does so by showing a virtual stack of function calls (redexes), i.e. every function call on the stack caused the function call above it. The evaluation of the top stack element caused the error (or during its evaluation the computation was interrupted). The stack shown is virtual, because it does not correspond to the actual runtime stack. The actual runtime stack enables lazy evaluation whereas the virtual stack corresponds to a stack that would have been used for eager (strict) evaluation.

hat-stack is now largely superseded by hat-explore(1) which allows interactive browsing of the complete call chain.

FILES

/usr/local/bin/hat-stack

SEE ALSO
nhc98(1), hat-observe(1), hat-detect(1), hat-trail(1), hat-explore(1)