Lean documentation doesn't say which version a function is available from or indicate that its describing master
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 57/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- documentation
Research direction
Start by checking how the Lean documentation is built and published, then compare its release handling with the Python or CMake documentation mentioned in the issue. The suggested direction is to provide documentation for each release; done means users can identify which Lean release a documentation page describes and find docs matching their release. The issue does not name specific files or tests.
Written by the indexing model from the issue text.
Description
I am trying to learn Lean and got stuck when I was trying to use Vector.modify. I'm using the latest version of Lean, it's right there in the docs, and I think I've written the code right but of course I'm not sure. Yet it's saying that modify doesn't exist in the environment.
Google search's default AI can't figure it out, hallucinating all sorts of things. I had to turn to a more powerful AI model to identify that Vector.modify was only added really recently in #16116.
There's zero indication on the documentation page that it is documentation for master, not the latest release. The standard solutions to this problem are:
- Have a copy of the docs available for each release (see the Python or CMake docs for example).
- Add "Available since " to each function. Rust does this, and Python kind of does it a bit.
The former is obviously easier since it's only infrastructure changes.
- Dominant language
- Lean
- Stars
- 10.5k
- Forks
- 1.2k
- Avg merge
- 19h 36m
- Merged PRs (30d)
- 323
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from leanprover/lean4
-
P-medium
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
leanprover/lean4#16958 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
leanprover/lean4#16897 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
leanprover/lean4#16892 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
leanprover/lean4#16886 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 78/100
leanprover/lean4#16820 ·
Maintainers usually reply within 1 day
All issues in leanprover/lean4
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
優先度たかし
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
lean-ja/lean-by-example#2681 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
laststance/design-world#79 ·
Maintainers usually reply within 1 day
-
v2
Difficulty 1/5 Under an hour Newbie friendliness 86/100
modelcontextprotocol/python-sdk#3978 · 2 comments ·
Maintainers usually reply within 1 day