These are the some additions I found useful if you want your parser to sit on top of some monad (State in my case). Out of the new combinators I've only used randbindm (to store the parse result) - not sure if landbindm would ever be useful as well, maybe just for side effects?
These are the some additions I found useful if you want your parser to sit on top of some monad (
State
in my case). Out of the new combinators I've only usedrandbindm
(to store the parse result) - not sure iflandbindm
would ever be useful as well, maybe just for side effects?