Skip to content

Fix pass in stateT and eitherT MonadWriter instances#154

Open
bamarsha wants to merge 1 commit intorocq-community:masterfrom
bamarsha:pass
Open

Fix pass in stateT and eitherT MonadWriter instances#154
bamarsha wants to merge 1 commit intorocq-community:masterfrom
bamarsha:pass

Conversation

@bamarsha
Copy link

Fixes #153. pass (ret (..., f)) always calls f on the empty output, so instead the pass needs to be wrapped around the bind that contains the output-producing computation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pass does nothing in instances of MonadWriter for stateT and eitherT

1 participant