purescript-transformers icon indicating copy to clipboard operation
purescript-transformers copied to clipboard

fix ComonadEnv third law

Open worldmaker18349276 opened this issue 1 year ago • 0 comments

ex: https://try.purescript.org/?gist=82aad3725f27216aafcdfc51a65fd3c0

Description of the change

ComonadEnv third law is wrong. Duplicating env after local modification will remain modified. See above example.


Checklist:

  • [ ] Added the change to the changelog's "Unreleased" section with a reference to this PR (e.g. "- Made a change (#0000)")
  • [ ] Linked any existing issues or proposals that this pull request should close
  • [ ] Updated or added relevant documentation
  • [ ] Added a test for the contribution (if applicable)

worldmaker18349276 avatar Jul 10 '24 13:07 worldmaker18349276