leanprover / leanprover/reference-manual
Built-in operators and their precedence
Nobody has claimed this yet.
- Dominant language
- Lean
- Stars
- 129
- Forks
- 67
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 16
Description
It's possible that I somehow missed it but I couldn't find a list of all the built-in operators (like +, -, %, <, etc.) with their relative precedence and associativity.
Here are some examples from other languages to get a better idea of what I'm looking for:
I believe the list of operators for Lean can be found here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the Lean operator definitions linked in src/Init/Notation.lean, then inspect the reference manual's existing language-reference structure. Done means adding a clear table of built-in operators with their relative precedence and associativity, using the linked C++ and JavaScript examples as models.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100