Closed epage closed 9 months ago
0.5.30
success only handles the equivalent of Parser::value but there is also Parser::void, Parser::default_value (#398).
success
Parser::value
Parser::void
Parser::default_value
chumsky::primitive::empty would be nice
chumsky::primitive::empty
The main question is in naming
empty
alt
void
No response
Split out of #82
Please complete the following tasks
winnow version
0.5.30
Describe your use case
success
only handles the equivalent ofParser::value
but there is alsoParser::void
,Parser::default_value
(#398).Describe the solution you'd like
chumsky::primitive::empty
would be niceThe main question is in naming
empty
: conveys what is done for parsingsuccess
reads nicely for longeralt
svoid
... too focused on the output and not the grammarAlternatives, if applicable
No response
Additional Context
Split out of #82