
6 Apr
2013
6 Apr
'13
2:18 p.m.
Hi Steffen, most of the time I'm just using these cpp macros: #define __POS__ (__FILE__ ++ ":" ++ show __LINE__) #define ERROR error $ __POS__ ++ " -> " ++ Instead of writing 'error "blub"' you would write 'ERROR "blub"' and additionally get the file name and the line. There's a bracktracing functionality in the more recent versions of ghc. I think it has been discussed on this mailing list. Greetings, Daniel