1. Bryan O'Sullivan
  2. attoparsec
  3. Issues
Issue #9 invalid

lookahead

Anonymous created an issue

Although it becomes a major performance leak when misused, looking ahead in parsing is often very intuitive and reduces the complex reasoning process as well as spaghetti codes.

This feature seems to have been around, but disappeared. Many programmers are sorry for this loss.

For the deceleration it may introduce, a bold warning in the API documentation should do the job.

Giving the library users the choice shall be greatly appreciated.

Comments (1)

  1. Log in to comment