
4 Mar
2010
4 Mar
'10
4:37 p.m.
Ivan Miljenovic
Test: Prelude.undefined
Are you matching all patterns? When compiling with -Wall does it make any complaints?
How would this help? 'Prelude.undefined' happens because somewhere you're trying to evaluate a value defined with that particular literal, doesn't it? Using this in a library seems to me to be in poor taste, but grepping the code should reveal it, if you're sure that's where the problem is hiding. I generally replace any 'undefined's with 'error string', with each 'string' unique for that position. -k -- If I haven't seen further, it is by standing in the footprints of giants