Skip to content

Conversation

@jamesdbrock
Copy link
Member

@jamesdbrock jamesdbrock commented Apr 16, 2022

state refers to base monad instead of ParseState

Resolves #56

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:

  • Added the change to the changelog's "Unreleased" section with a link to this PR and your username
  • Linked any existing issues or proposals that this pull request should close
  • Updated or added relevant documentation in the README and/or documentation directory
  • Added a test for the contribution (if applicable)

`state` refers to base monad instead of `ParseState`
@jamesdbrock jamesdbrock marked this pull request as ready for review April 17, 2022 02:44
@jamesdbrock jamesdbrock merged commit 0bcfeb4 into main Apr 18, 2022
@jamesdbrock jamesdbrock deleted the monadstate branch April 18, 2022 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Reconsider alternative instance for Transformer typeclasses

2 participants