On Wed, 15 Oct 2008, Andrew Coppin wrote: > Philippa Cowderoy wrote: > > expressions = do es <- many1 expression > > eof > > return es > > > > Ah - so "eof" fails if it isn't the end of the input? >
eof = notFollowedBy anyChar (assuming I've got the identifiers right, that's the actual definition too) -- [EMAIL PROTECTED] Society does not owe people jobs. Society owes it to itself to find people jobs. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe