Re: [Haskell-cafe] [web-devel] Automatic error traces

2013-07-18 Thread Alberto G. Corona
Hi Greeg, All I created a repository in gitHub with the necessary code for generating execution traces in case of error: https://github.com/agocorona/control-monad-supervisor/blob/master/Demos/TraceExample.hs the code is {-# OPTIONS -F -pgmF MonadLoc #-} module Demos.TraceExample ( ) where impo

Re: [Haskell-cafe] [web-devel] Automatic error traces

2013-07-17 Thread Alberto G. Corona
Hi Greeg. Nice I will publish the mechanism in a separate package once I clean it up At first sight, It is possible to use file-location and monad-logger with the traces instead of monadloc. In the meantime, I will advance to you a copy of the details in a separate mail. 2013/7/16 Greg Weber

Re: [Haskell-cafe] [web-devel] Automatic error traces

2013-07-16 Thread Greg Weber
That's great. We should collaborate on this. I wrote the file-location package and Michael Snoyman wrote monad-logger: both of these give file location information. I also added command tracing to Shelly (which could also benefit from this kind of thing) and recently released rollbar for error noti