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

Dot-notation helper abbreviations #1346

Closed
leodemoura opened this issue Jul 21, 2022 · 3 comments
Closed

Dot-notation helper abbreviations #1346

leodemoura opened this issue Jul 21, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@leodemoura
Copy link
Member

During the ICERM after-party hackton, @digama0 suggested we add helper abbreviations such as

abbrev MVarId.getType (mvarId : MVarId) : MetaM Expr 

They are great for discoverability when using dot-notation.

@leodemoura leodemoura added the enhancement New feature or request label Jul 21, 2022
leodemoura added a commit that referenced this issue Jul 25, 2022
leodemoura added a commit that referenced this issue Jul 26, 2022
leodemoura added a commit that referenced this issue Jul 28, 2022
bors bot pushed a commit to leanprover-community/mathlib4 that referenced this issue Jul 31, 2022
Changed all names related to leanprover/lean4#1346 that I could find.

- [x] leanprover/lean4#1375

Co-authored-by: Wojciech Nawrocki <[email protected]>
Co-authored-by: Mario Carneiro <[email protected]>
@leodemoura
Copy link
Member Author

@digama0 Any other functions to rename?

@digama0
Copy link
Collaborator

digama0 commented Aug 4, 2022

I'm going to be making an in depth pass over everything in the coming weeks, so I'll keep an eye out for dot-notation candidates. But I don't have any suggestions at the moment.

EdAyers pushed a commit to leanprover-community/mathlib4 that referenced this issue Aug 18, 2022
Changed all names related to leanprover/lean4#1346 that I could find.

- [x] leanprover/lean4#1375

Co-authored-by: Wojciech Nawrocki <[email protected]>
Co-authored-by: Mario Carneiro <[email protected]>
@leodemoura
Copy link
Member Author

Closing this issue for now. We can open a new issue for adding new helper abbreviations if someone has suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants