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

refactor: name the default SizeOf instance #5981

Merged
merged 2 commits into from
Nov 7, 2024
Merged

Conversation

nomeata
Copy link
Collaborator

@nomeata nomeata commented Nov 6, 2024

This PR names the default SizeOf instance instSizeOfDefault

I regularly have to debug termination checking failures where I end up hovering over some termination measure, and seeing instSizeOfDefault is more likely to tell me that the default instance is used than instSizeOf.

This PR names the default SizeOf instance `instSizeOfDefault`

I regularly have to debug termination checking failures where I end up hovering over some termination measure, and seeing `instSizeOfDefault` is more likely to tell me that the default instance is used than `instSizeOf`.
@nomeata nomeata marked this pull request as ready for review November 6, 2024 22:42
src/Init/SizeOf.lean Outdated Show resolved Hide resolved
@github-actions github-actions bot temporarily deployed to lean-lang.org/lean4/doc November 7, 2024 09:04 Inactive
@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 Nov 7, 2024
@leanprover-community-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 196b1e925050bf979ae9312ee69eb5f78d1512c0 --onto c779f3a039963fd38b03a78f635f0a7c36f24f42. (2024-11-07 09:18:09)

@nomeata nomeata added this pull request to the merge queue Nov 7, 2024
Merged via the queue into master with commit 70435df Nov 7, 2024
14 checks passed
@kim-em kim-em added the changelog-library Library label Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-library Library 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.

3 participants