-
Notifications
You must be signed in to change notification settings - Fork 8
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
Allow searching for just lemmas or just definitions (I guess: Prop/Sort) #9
Comments
Any concrete syntax in mind? |
Maybe just "lemma" or "def" as special keywords? That should be fine to special-case I guess |
That a reasonable suggestion. If they are “filters” of their own you’d have to comma-searate them, e.g.
which probably takes getting used to. Or the syntax could be more liberal and not require a comma after (Note that |
BTW, the current syntax allows this already, although less convenient: You can write
to get theorems and
to get everything else. For example https://loogle.lean-lang.org/?q=Real.sin%2C+%7C-+%28%3Fa+%3A+Prop%29 vs. https://loogle.lean-lang.org/?q=Real.sin%2C+%7C-+%28%3Fa+%3A+Type+_%29. |
I think having to comma-separate them doesn't seem unreasonable! |
It'd be nice to only be shown lemmas when I'm looking for lemmas, as opposed to other stuff that I don't particularly want; I assume it'd be the same for defs!
The text was updated successfully, but these errors were encountered: