On Tue, Sep 01, 2009 at 10:28:48AM +0200, Christian Maeder wrote:
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-35cc6ddc1a577e163e9830b96f89151f05... 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).
Ah. I see what is happening. I am desugaring before re-fixitying the source code. Thanks! I see the issue now. I was thinking it was a parsing problem. John -- John Meacham - ⑆repetae.net⑆john⑈ - http://notanumber.net/