Stack package:rebase
The current thread's stack exceeded its limit. Since an exception has
been raised, the thread's stack will certainly be below its limit
again, but the programmer should take remedial action immediately.
A variant of
error that does not produce a stack trace.
like
trace, but additionally prints a call stack if one is
available.
In the current GHC implementation, the call stack is only available if
the program was compiled with
-prof; otherwise
traceStack behaves exactly like
trace. Entries in the
call stack correspond to
SCC annotations, so it is a good
idea to use
-fprof-auto or
-fprof-auto-calls to add
SCC annotations automatically.