[Haskell-cafe] exceptions vs. Either

Fergus Henderson fjh007 at galois.com
Tue Aug 3 19:12:39 EDT 2004


On 03-Aug-2004, Evan LaForge <quinn at burn.ofb.net> wrote:
> 
> In response to the "mysterious head exceptions" thread, isn't there a way to
> compile with profiling and then get the rts to give a traceback on exception?

There is, but it doesn't really work properly, due to
	- lazy evaluation
	- tail call optimization
	- lack of line numbers in the traceback

-- 
Fergus J. Henderson                 |  "I have always known that the pursuit
Galois Connections, Inc.            |  of excellence is a lethal habit"
Phone: +1 503 626 6616              |     -- the last words of T. S. Garp.


More information about the Haskell-Cafe mailing list