Stephane Bortzmeyer wrote:
> > The first would be to test whether "bb" is followed by "eof" or
> > "comma" before accepting it.
> 
> notFollowedBy actually does the opposite (checking that there are no
> more letters).

Are you sure that you don't actually want

*> many1 letter `sepBy1` comma

?  Just asking, because somehow I have a feeling that the next step is
to accept 'a,c,b'...


Udo.
-- 
The Force is what holds everything together.  It has its dark side, and
it has its light side.  It's sort of like cosmic duct tape.

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