type Parser a = String => [(a, String)]
A Parser for Things
is a function from Strings
to Lists of Pairs
of Things and Strings!
Occasional programming notes
Stolen from Lambdacats. [2014 Edit: That site has been down for quite some time; see Sean Leather's lambdacat shelter instead; sadly missing are the original headings, for which see the Wayback Machine.]