You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed we have ApplicativeDo enabled as a default extension in many packages. This is very odd - it's a rather ad-hoc extension that rewrites your do-blocks to use applicative operators where it can, with some hacky hard-coded rules. I think it should just be enabled in the small number of modules that want to opt in for whatever reason.
So I tried removing it, but the context.verifyClosedTerm.report-all-free-vars test failed!
I think we should identify the Applicative in our codebase that is relying on some do-block being rewritten to use applicative operators, rewrite it to use those operators explicitly, then stop using ApplicativeDo (if not everywhere, then at least as a default extension)
The text was updated successfully, but these errors were encountered:
I noticed we have
ApplicativeDo
enabled as a default extension in many packages. This is very odd - it's a rather ad-hoc extension that rewrites your do-blocks to use applicative operators where it can, with some hacky hard-coded rules. I think it should just be enabled in the small number of modules that want to opt in for whatever reason.So I tried removing it, but the
context.verifyClosedTerm.report-all-free-vars
test failed!You can run it with:
I think we should identify the
Applicative
in our codebase that is relying on some do-block being rewritten to use applicative operators, rewrite it to use those operators explicitly, then stop usingApplicativeDo
(if not everywhere, then at least as a default extension)The text was updated successfully, but these errors were encountered: