lean-ja / lean-ja/lean-by-example
`Option` もどき
Open
Nobody has claimed this yet.
- Dominant language
- Lean
- Stars
- 188
- Forks
- 15
- Avg merge
- 9h 8m
- Merged PRs (30d)
- 6
Description
none にはどうせ中身がないので、すべての型に対して同じ none を使うようにしたらどうなりますか?
inductive Option' where
| none : Option'
| some {α : Type} (val : α) : Option'
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 Option' declaration shown in the issue and check how Lean elaborates its parameterized some constructor and shared none constructor. The work is done when the resulting behavior is understood and documented clearly in the relevant example or explanation.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100