leanprover / leanprover/fp-lean
Plus is used instead Add class
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- Lean
- Stars
- 192
- Forks
- 73
- PR merge metrics
- No merged PRs in 30d
Description
Section says that type should have an instance of class Plus to benefit from operator + though the correct class name for this operator is Add.
Please quote the text that is incorrect:
n the following type class declaration, Plus is the name of the class, α : Type is the only argument, and plus : α → α → α is the only method:
class Plus (α : Type) where
plus : α → α → α
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 with the “classes-and-instances” section of the Functional Programming in Lean manual at the linked location and review the quoted class declaration. Replace the incorrect class name Plus with Add where the text describes the operator, then verify that the surrounding explanation and example use the corrected name consistently.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 90/100