
18 Jul
2011
18 Jul
'11
2:32 p.m.
Note that the presentation of functional parsers in the book
simplifies things a little, particularly the book avoids mentioning
newtypes explicitly though they are implicit in the section 8.9
Chapter Remarks.
The code on Graham Hutton's website uses newtypes and is is directly runnable:
http://www.cs.nott.ac.uk/~gmh/book.html#code
On 18 July 2011 12:17, Haisheng Wu
I think you can check full source code at its web site to see what you missed. My thought: did you make Parser as a instance of Monad? -Haisheng