parsec-3 problem

Daniel Fischer daniel.is.fischer at googlemail.com
Sat Feb 19 14:20:43 CET 2011


On Saturday 19 February 2011 13:55:42, Max Bolingbroke wrote:
> On 19 February 2011 09:27, Roman Cheplyaka <roma at ro-che.info> wrote:
> > Works just fine here.
> >
> >     myparser = sepBy gqrrel (char ',')
> >
> >    myparser
> >      :: (Text.Parsec.Prim.Stream s m Char) =>
> >         Text.Parsec.Prim.ParsecT s u m [[Char]]
>
> Have you turned off the monomorphism restriction globally?

Probably. Works here with MR off, doesn't compile with MR on (6.12.3 and 
7.0.1)

> I wouldn't
> have thought that myparser would get an overloaded type otherwise.
>
> Max




More information about the Libraries mailing list