Hello Donald, Monday, May 23, 2005, 4:06:08 PM, you wrote:
>> also it will be cool to have ability to add such annotations to my own >> functions, smthg like: >> >> head (x:xs) = x >> head [] = superError "head []" >> >> which will print: "Error: head [] in Module.hs:155" DBS> You can do this already with GHC.Base.assert (almost): sorry, i want to get message with linenumber where head was CALLED, not defined -- Best regards, Bulat mailto:[EMAIL PROTECTED] _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs