On Mon, 2005-11-07 at 21:32 -0500, Sara Kenedy wrote:
> Dear all,
>
> I run file Token.hs in
> hugs98\libraries\Text\ParserCombinator\Parsec\Token.hs, but it
> displays this error
>
> ERROR : 64 - Syntax error in data type definition (unexpected '.')
>
> Anyone know how to fix this? Thanks.
The
Sara,
I run file Token.hs in
hugs98\libraries\Text\ParserCombinator\Parsec\Token.hs, but it
displays this error
ERROR : 64 - Syntax error in data type definition (unexpected '.')
Anyone know how to fix this? Thanks.
Token.hs defines a data type TokenParser:
data TokenParser st =
= Tok
Hello,
I ran into this as well, it's because the Token module uses the forall
extension.
just start Hugs with the -98 option and the error should go away.
Cheers
On 08/11/2005, at 1:32 PM, Sara Kenedy wrote:
Dear all,
I run file Token.hs in
hugs98\libraries\Text\ParserCombinator\Parsec\
Dear all,
I run file Token.hs in
hugs98\libraries\Text\ParserCombinator\Parsec\Token.hs, but it
displays this error
ERROR : 64 - Syntax error in data type definition (unexpected '.')
Anyone know how to fix this? Thanks.
___
Haskell-Cafe mailing list
Ha