Skip to content

Conversation

@SleighPenguin22
Copy link

@SleighPenguin22 SleighPenguin22 commented Jan 5, 2026

The multi module provides a separated_list\[01\]() combinator, but the combinator does not consume a trailing separator, defining my own in my project using a macro is doable, but looks weird when compared to the provided function API.

I'm proposing a combinator whose interface is identical to separated_list[01](sep, parser), but it accepts an optional trailing separator and discards it.

but that allows for a trailing separator.
(doc)tests are mostly complete.
@SleighPenguin22 SleighPenguin22 requested a review from Geal as a code owner January 5, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant