Chris Kuklewicz wrote:
> Again, Parsec requires you to put "try" where you need it

I'm pretty sure it does, although this

> Udo Stenzel wrote:
> >countBetween 0 n p = p <:> countBetween   0   (n-1) p <|> return []

is a place where it's not needed in general.  You should know what
you're doing, though.  And I like ReadP better in general, exactly
because 'try' is a bit trippy.


Udo.
-- 
C'est magnifique, mais ce n'est pas l'Informatique.
                -- Bosquet [on seeing the IBM 4341]

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to