19 Dec
2007
19 Dec
'07
4:53 p.m.
Hi, I try to debug some existing Haskell-Code. Out of the blue I get a 'progname: Prelude.read: no parse' error message from GHC. Great. Well, the code includes # grep '\<read\>' *| wc -l 23 (sic!) calls to the read fn. Well, how do I compile a Haskell program in such a way, that I get a useful error message from read? I mean, like the filename/linenumber of the calling expression for starters. Really crazy would be the possibility to print out a backtrace, if some (library) function calls error ... Best regards Georg -- Fortune : 'Real programmers don't comment their code. It was hard to write, it should be hard to understand.' ;)