Re: [Haskell-cafe] \Parsec\Token.hs

2005-11-08 Thread Bernard Pope
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

Re: [Haskell-cafe] \Parsec\Token.hs

2005-11-07 Thread Stefan Holdermans
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

Re: [Haskell-cafe] \Parsec\Token.hs

2005-11-07 Thread Scott Weeks
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\

[Haskell-cafe] \Parsec\Token.hs

2005-11-07 Thread Sara Kenedy
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