And to answer my own question.....I should use parseOnly. -- Arthur Clune arthur at clune.org On Tue, Jun 5, 2012 at 10:56 AM, Arthur Clune <arthur at clune.org> wrote: > I'm writing a simple attoparsec parser, which works fine except for > handling end of file: