leanprover / leanprover/reference-manual
ui problem in `lifting monad`
Open
Nobody has claimed this yet.
bug
- Dominant language
- Lean
- Stars
- 129
- Forks
- 67
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 16
Description
Example Lifting Transformed Monads
def incrBy (n : Nat) : StateM Nat Unit := modify (def incrOrFail : ReaderT Nat (ExceptT String (StateM Nat)) Unit := do
if (← read) > 5 then throw "Too much!"
incrBy (← read)
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 at the linked Lifting Monads section and inspect the “Example Lifting Transformed Monads” snippet shown in the issue. Compare the rendered page with the intended example and confirm that the corrected example displays properly and is valid.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100