"Justin Bailey" <[EMAIL PROTECTED]> writes:

> are using tail (or could be calling something that uses tail) and use
> the "trace" function to output logging info.

Another cheap trick is to use CPP with something like:

#define head (\xs -> case xs of { (x:_) -> x ; _ -> error("head failed at 
line"++__FILE__++show __LINE__)})

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to