h0tk3y/better-parse

[Feature] Bind Combinator

Opened this issue · 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

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

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.

Thanks, I had been using reflection to access remainder