With this PR, users who stack a ParserT on a StateT base monad will call the MonadState members directly like get instead of needing to do lift <<< get.
To get the ParserT internal state, call getParserT instead of get.
Checklist:
[x] Added the change to the changelog's "Unreleased" section with a link to this PR and your username
[x] Linked any existing issues or proposals that this pull request should close
[x] Updated or added relevant documentation in the README and/or documentation directory
[x] Added a test for the contribution (if applicable)
state
refers to base monad instead ofParseState
Resolves #56
With this PR, users who stack a
ParserT
on aStateT
base monad will call theMonadState
members directly likeget
instead of needing to dolift <<< get
.To get the
ParserT
internal state, callgetParserT
instead ofget
.Checklist: