parser
parser copied to clipboard
No documentation for commit
The documentation for Parser.commit points the user towards https://github.com/elm/parser/blob/master/semantics.md. However, this document makes no mention of commit.
If this can help a little, there is an example using commit in the "Comparison with Prior Work" page linked from the README:
https://github.com/elm/parser/blob/master/comparison.md#expressiveness
The best explanation for commit that I've found is on Parser.token: https://package.elm-lang.org/packages/elm/parser/latest/Parser#token