
Colin Paul Adams wrote:
The tutorials I've found don't tell me what I want to know :-(
I have lines that begin with an integer, then white-space, and then further structure to the end-of-line.
So for a starter, could you show me how to write a parser for the integer (returning an Int), and how to combine it with a parser for the rest of the line (take that as written - it isn't, but I'll try to do that myself given such a kick-start).
Maybe one of my old blog posts can help? http://therning.org/magnus/archives/289 /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe Haskell is an even 'redder' pill than Lisp or Scheme. -- PaulPotts