[Haskell-cafe] Re: how do you debug programs?
jon.fairbairn at cl.cam.ac.uk
Thu Sep 7 01:21:01 EDT 2006
David Roundy <droundy at darcs.net> writes:
> On Wed, Sep 06, 2006 at 09:56:17AM -0700, Jason Dagit wrote:
> > Or maybe even more extreme you could use template haskell or the c
> > preprocessor to fill in the line number + column.
> Which is precisely what darcs does for fromJust (which we use a lot):
> we define a C preprocessor macro fromJust.
Curiously, the only bug in darcs that has bitten me so far
was a use of fromJust. Perhaps that indicates a weakness in
the style, rather than the tools?
Jón Fairbairn Jon.Fairbairn at cl.cam.ac.uk
More information about the Haskell-Cafe