[Haskell-cafe] code-as-config, run-time checks and error locations

Steffen Schuldenzucker sschuldenzucker at uni-bonn.de
Sat Apr 6 23:37:30 CEST 2013


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
> <sschuldenzucker at 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




More information about the Haskell-Cafe mailing list