
12 Mar
2009
12 Mar
'09
11:49 a.m.
Oh, I know it's not specific to parsec, it just seems like parsec's
used enough and well understood enough that it would make a good
tutorial.
On Thu, Mar 12, 2009 at 11:36 AM, Martijn van Steenbergen
Jeff Heard wrote:
Come to think of it, I've never seen an applicative tutorial of Parsec, only a monadic one. Does such a beast exist
Here's something that comes close:
http://www.cs.uu.nl/research/techreps/repo/CS-2008/2008-044.pdf
It's not specific to Parsec; instead, a parser type is defined on the fly, based on Philip Wadler's list of successes. The applicative and monadic approaches are clearly separated.
Martijn.