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

loogle easily confused by keywords like repeat #15

Open
philderbeast opened this issue Mar 25, 2024 · 2 comments
Open

loogle easily confused by keywords like repeat #15

philderbeast opened this issue Mar 25, 2024 · 2 comments

Comments

@philderbeast
Copy link

I was looking for something like repeat on hoogle. The search for repeat on loogle comes back with;

<input>:1:0: expected end of input

Other searches come back fine, like the search for sin that comes back with unknown identifier 'sin' and then a list of possibilities.

@nomeata nomeata changed the title expected end of input with repeat loogle easily confused by keywords like repeat Mar 25, 2024
@nomeata
Copy link
Owner

nomeata commented Mar 25, 2024

That’s because repeat is a keyword in Lean. If you want to search for definitions lemmas having repeat in the name, use "repeat".

Possibly loogle could, if there is a parse error, check if the input was just a single word and be more helpful then.

@philderbeast
Copy link
Author

philderbeast commented Mar 25, 2024

I was wondering about keywords because I got the same error when I searched for def on loogle but didn't want to jump the gun on probable cause.

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