mwobat

Results 5 comments of mwobat

> I may be misunderstanding you, but wouldn't such a combinator be the equivalent of: > > ``` > just(A).repeated().then(just(B)) > ``` I should've explained more clearly. The docs for...

Yes, exactly 🙂

> It can be emulated with `value((), p)` Oh, I didn't even think of that.

> You could use the toilet closure `eof.map(|_| ())` Yes, but it will be a little longer: ```rust peek(alt(( eof.map(|_| ()), page_header_num.map(|_| ()), choice.map(|_| ()), ))) ``` vs ```rust peek(alt((void(eof),...

> Then instead of arbitrary keyword arguments, a single optional `data` argument, that can be passed to the setup function if present. Would keep the signature clean. Or pass the...