On 9/9/07, Tim Newsham <[EMAIL PROTECTED]> wrote: > I wrote a small intro about how to write a parser in haskell. Its > basically about parsec and how it works, but its written without directly > referencing parsec and aimed towards beginners (basically wrote it for > some friends).
Nice development of combinators, and pretty readable. Not sure the level of Haskell knowledge expected, but you might want to explain pattern guards. Also, I believe your parser will fail if whitespace appears at the front of the input - you might want to introduce a "token" like combinator that drops whitespace as needed. Justin _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe