Simple example using Parsec (was: [Haskell-cafe] Rethinking OO idioms)
Graham Klyne
GK at ninebynine.org
Thu Sep 30 05:34:17 EDT 2004
At 09:01 30/09/04 +0100, Bayley, Alistair wrote:
>Ben suggested using Parsec for reading the config file. Parsec is a fine
>library, but there is a learning curve, and you might find it quicker to do
>the parsing yourself, if it's very simple. Your call.
Hmmm... Parsec *can* be simple too. Here's one I did earlier:
http://www.ninebynine.org/Software/HaskellUtils/RegexParser.hs
#g
------------
Graham Klyne
For email:
http://www.ninebynine.org/#Contact
More information about the Haskell-Cafe
mailing list