
12 Jul
2008
12 Jul
'08
9:41 a.m.
On Sat, Jul 12, 2008 at 09:21:56AM -0400, Isaac Dupree wrote:
I wonder if http://hackage.haskell.org/trac/ghc/ticket/960 / http://hackage.haskell.org/trac/ghc/wiki/ExplicitCallStack will affect exceptions (adding information to (some of) them?) in a way that we should consider it for this round of changing exceptions (probably just affects the information in the exception hierarchy somehow).
I think that is right. Exceptions made by things like error may just have a [Location] or something in them. I think that to do it nicely they will all need to be in a subhierarchy, with a class that has getLocations and setLocations methods or something. I haven't thought about this properly, though, so there may be a better way to do it. Thanks Ian