lean-ja / lean-ja/lean-by-example
単一フィールドの structure はメモリレイアウトが内部の値と同一になる
Open
Nobody has claimed this yet.
データ型
メモ
- Dominant language
- Lean
- Stars
- 188
- Forks
- 15
- Avg merge
- 9h 8m
- Merged PRs (30d)
- 6
Description
単一フィールドしかもたない構造体structureは、ラッパーなのでメモリ上も反映される。
Functional Programming in Lean のネタ(読みなおすべきでは?)
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 issue #1750 in lean-by-example and the referenced Functional Programming in Lean material. No file, test, or entry point is named, so first determine where the relevant structure example belongs and what explanation is expected. Done means the intended single-field structure memory-layout behavior is documented with a concrete example.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100