Good Point!
Doesn't quite meet my requirements (I don't want to show the error loc somewhere deep within the libs), but it led me here[1].
Reading through that now...

[1] http://hackage.haskell.org/trac/ghc/wiki/ExplicitCallStack

On 04/06/2013 07:51 PM, Kim-Ee Yeoh wrote:
On Sun, Apr 7, 2013 at 12:23 AM, Steffen Schuldenzucker
<sschuldenzuc...@uni-bonn.de>  wrote:
For the moment I think it would be enough to auto-insert the location of
calls to a certain set of functions.

Have you tried assert [1]?

[1] 
http://hackage.haskell.org/packages/archive/base/4.6.0.1/doc/html/Control-Exception.html#v:assert

-- Kim-Ee


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to