|
Re[2]: the impossible happened: msg#00110lang.haskell.glasgow.bugs
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:bulatz@xxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Re[2]: the impossible happened, Simon Peyton-Jones |
|---|---|
| Next by Date: | Re[4]: the impossible happened, Bulat Ziganshin |
| Previous by Thread: | Re: the impossible happened, Donald Bruce Stewart |
| Next by Thread: | RE: Re[2]: the impossible happened, Simon Peyton-Jones |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |