
20 Dec
2008
20 Dec
'08
10:47 a.m.
Hi Gwern,
2) I think I found a parsing bug. One line in Mueval/Interpreter.hs runs:
fmap (take n exceptionMsg ++) $ render' (n-length exceptionMsg) s
which gives the error:
Mueval/Interpreter.hs:145:59: Parse failure, Parse error No relevant suggestions
Adding spaces between 'n' and 'length', so it reads:
fmap (take n exceptionMsg ++) $ render' (n - length exceptionMsg) s
lets hlint parse and suggest for it.
This is clearly a HSE bug, and seeing your example I know exactly the oversight I've made. Unfortunately I don't see immediately how to fix it so I'll have to think on it for a while. Thanks for reporting it! Cheers, /Niklas