Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

censor semantics doesn’t agree with mtl #16

Open
re-xyr opened this issue Oct 18, 2021 · 0 comments
Open

censor semantics doesn’t agree with mtl #16

re-xyr opened this issue Oct 18, 2021 · 0 comments

Comments

@re-xyr
Copy link

re-xyr commented Oct 18, 2021

The mtl censor will apply the function on the whole output of the monadic action, while eff applies it on each telled output. This can generate different accumulated values unless f is an endomorphism.

Is this intentional?

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

No branches or pull requests

1 participant