[jhc] jhc-0.7.1 and parsec-2.1.0.1

Christian Maeder Christian.Maeder at dfki.de
Fri Aug 28 08:07:17 EDT 2009


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)

Cheers Christian


name:           parsec
version:        2.1.0.1
exposed-modules:
    Text.ParserCombinators.Parsec.Error,
    Text.ParserCombinators.Parsec.Char,
    Text.ParserCombinators.Parsec.Combinator,
    Text.ParserCombinators.Parsec.Pos,
    Text.ParserCombinators.Parsec.Prim,
    Text.ParserCombinators.Parsec




More information about the jhc mailing list