Full parser examples with parsec?
I'm trying to make a parser for a simple functional language, a bit like Caml, but I seem to be stuck with the simplest things. So I'd like to know if there are some more complete examples of parsec parsers, something that goes beyond "this is how you parse 2 + 3". Especially function calls in terms and suchlike. And I've read "Write you a Scheme", but the syntax of scheme is quite simple and not really helping for learning. The most problems I have is how to use try , <|> and choice properly, because I really don't get why parsec never seems to parse a(6) as a function call using this parser: