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. It's ugly, but beats any other choice I'm aware of. I wish that built in functions that call error could be automatically this way... -- David Roundy _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe