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

fix: revert "monadic generalization of FindExpr" #4125

Merged
merged 1 commit into from
May 10, 2024

Conversation

arthur-adjedj
Copy link
Contributor

This reverts commit 706a4cf introduced in #3970

As explained in #4124, findM? can become a footgun if used in monads which induce side-effects such as caching. This PR removes that function, and fixes the code introduced by #3398 for which the function was first added.

cc @semorrison.

@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label May 10, 2024
@leanprover-community-mathlib4-bot
Copy link
Collaborator

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase dcdc3db3d441791bd35ee06489f5b9a8094cd64c --onto fe7b96d8a0cf85e1ea81791ac9d673f84c9e866d. (2024-05-10 18:10:01)

@leodemoura leodemoura added this pull request to the merge queue May 10, 2024
Merged via the queue into leanprover:master with commit 6c6b56e May 10, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants