Implicitly return Parser
instances
#164
Labels
core: combinators
Anything related to combinators
core: parsers
Anything related to parsers
refactor
Milestone
In some parsers and combinators (
optional
,lazy
andfailure
) theParser
instance is returned explicitly. This differs from the usual implementation of using a concise body syntax (implicit return).https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions#function_body
Before:
After:
The text was updated successfully, but these errors were encountered: