[jhc] Re: jhc-0.7.1 and parsec-2.1.0.1
Christian Maeder
Christian.Maeder at dfki.de
Tue Sep 1 04:28:48 EDT 2009
John Meacham wrote:
> On Fri, Aug 28, 2009 at 02:07:17PM +0200, Christian Maeder wrote:
>> Hi,
>>
>> I've tried to compile (part of) parsec-2.1.0.1 with jhc-0.7.1
>>
>> and Parsec.Combinator had several problems with do-expression as infix
>> arguments, which should be simple to fix for you. I.e.
>>
>> do{ p; return ()} <|> return ()
>>
>> needed explicit parenthesis:
>>
>> (do{ p; return ()}) <|> return ()
>>
>> (also if layout is used instead of curly braces)
>
> Hmm.. okay. this may be related to
> http://repetae.net/computer/jhc/bug/issue-35cc6ddc1a577e163e9830b96f89151f0562c029.html
> I'll look into it. thanks for the report!
No, it's the infix analysis. The "where"-Problem has to do with your
different offside (by one).
Christian
More information about the jhc
mailing list