
7 Sep
2006
7 Sep
'06
1:21 a.m.
David Roundy
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@cl.cam.ac.uk