Repository navigation
[Merged by Bors] - feat: code snippet for deprecated_module - #24681
YaelDillies wants to merge 1 commit into
Conversation
Type `depmod` in a Lean file, hit TAB, and `depmod` will be replaced with `deprecated_module (since := CURRENT_DATE)`.
PR summary 739c694780Import changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diffNo declarations were harmed in the making of this PR! 🐙 You can run this locally as follows## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>The doc-module for No changes to technical debt.You can run this locally as
|
|
Sure, why not? (If in the future we write a bot to create the deprecation PRs automatically, we can remove this again.) |
|
🚀 Pull request has been placed on the maintainer queue by grunweg. |
|
🚀 Pull request has been placed on the maintainer queue by grunweg. |
1 similar comment
|
🚀 Pull request has been placed on the maintainer queue by grunweg. |
|
Looks reasonable, thanks! I'll leave you to consider pros and cons of instead calling bors d+ |
|
✌️ YaelDillies can now approve this pull request. To approve and merge a pull request, simply reply with |
I think the code snippets are useful regardless. There's basically no cost associated to them (they only take up one autocomplete suggestion in a case where you might want to discover them anyway) |
I've witnessed beginners writing "deprecated ali..." when I tell them they need to write a deprecated alias, so I optimised the autocomplete for that, for discoverability. 😁 bors merge |
Type `depmod` in a Lean file, hit TAB, and `depmod` will be replaced with `deprecated_module (since := CURRENT_DATE)`.
|
Pull request successfully merged into master. Build succeeded: |
deprecated_moduledeprecated_module
If we decide that PRs merely moving files should not have a deprecation snippet, and a bot writes those instead, then a snippet might be counterproductive (by implicitly encouraging something we decided against). But, I agree - let's worry about that if this occurs. |
Type `depmod` in a Lean file, hit TAB, and `depmod` will be replaced with `deprecated_module (since := CURRENT_DATE)`.
Type `depmod` in a Lean file, hit TAB, and `depmod` will be replaced with `deprecated_module (since := CURRENT_DATE)`.
Continuation of leanprover-community#24871; all commits were generated semi-automatically using the script in leanprover-community#24681.
Type
depmodin a Lean file, hit TAB, anddepmodwill be replaced withdeprecated_module (since := CURRENT_DATE).