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

parse scoped notation #19

Open
fpvandoorn opened this issue Oct 17, 2024 · 2 comments
Open

parse scoped notation #19

fpvandoorn opened this issue Oct 17, 2024 · 2 comments

Comments

@fpvandoorn
Copy link

It would be nice if the parser is aware of scoped notation.
Examples:
_ ↓∩ _
𝓝 _
ℝ≥0∞

One complication: overloaded scoped notation (but I'm happy if it doesn't work in that case).

@nomeata
Copy link
Owner

nomeata commented Oct 17, 2024

Hmm, but aren't these scoped for a reason?

The feature I could see here is that you can specify which namespaces were opened, and then it'll just work. Tedious to use from the web interface, but #loogle might actually easily do that under the hood.

@fpvandoorn
Copy link
Author

fpvandoorn commented Oct 17, 2024

Honestly I'm not sure how good the reason is that these are scoped, beyond "maybe someone else will come along one day that wants to use a different meaning for these notations". In Mathlib these do not conflict with any other notation, and are opened very liberally and practically anywhere they are used.

The namespace-aware #loogle sounds very useful.

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

No branches or pull requests

2 participants