- Restore compatibility with older GHCs
- Change the type of
This is a major redesign of the API. Notable changes:
- The lexer now supports parsing the longest prefix/shortest suffix
- Instead of throwing an exception, we return a stream. The stream can be consumed directly, converted to a list or either-error-list of tokens.
Upgrade to srcloc 0.5
Signal a lexical error (instead of looping) when a regex does not consume any characters