
18 Apr
2009
18 Apr
'09
3:56 a.m.
aditya siram schrieb:
I would then have to comment out 'bad', reload the program and query output types to my hearts content. This is fine for a small program, but when I have functions are downriver from 'bad', it gets extremely cumbersome. Is there a way to load a file such that functions that compile stay loaded in the interpreter even if something else fails?
You can identify the offensive functions and write, in your example, bad :: String -- bad = hello ++ number bad = undefined