better-parse icon indicating copy to clipboard operation
better-parse copied to clipboard

[Feature] Bind Combinator

Open Shamrock-Frost opened this issue 7 years ago • 3 comments

Is there a reason there's no BindCombinator? I tried to add one but Parser.remainder is internal. Also, is there a reason Parser.remainder is internal? I'd prefer the ability to add combinators

Shamrock-Frost avatar Nov 09 '17 00:11 Shamrock-Frost

Related: Is there a reason there's no bind for ParseResult?

Shamrock-Frost avatar Nov 11 '17 04:11 Shamrock-Frost

By the way, 0.3.2 makes Parsed<T>.remainder public. I'll take a look at the idea of bind combinator some time soon.

h0tk3y avatar Dec 02 '17 15:12 h0tk3y

Thanks, I had been using reflection to access remainder

Shamrock-Frost avatar Dec 18 '17 06:12 Shamrock-Frost