I hadn't seen that before, thanks. My code wouldn't be that useful as it depends on some of my datatypes. I don't know some basic things here since I'm so new to Haskell. For example, am I to assume that I need to create my own instance of State and then define get and put for it? Some of the examples seem to just use functions that manipulate a state but do not create a new datatype.
----- Original Message ----
From: Arie Peterson <ariep@xs4all.nl>
To: haskell-cafe@haskell.org
Sent: Monday, July 2, 2007 2:46:14 PM
Subject: Re: [Haskell-cafe] Very simple parser