[Haskell-cafe] Re: [Haskell] ANN: HLint 1.0
Niklas Broberg
niklas.broberg at gmail.com
Sat Dec 20 10:47:07 EST 2008
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
More information about the Haskell-Cafe
mailing list