Suggestion on Section 6.1, "Structures and Inheritance"

Open
#163 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Domain
documentation

Research direction

Review Section 6.1, “Structures and Inheritance,” including the point after “Default Declarations,” and compare it with Chapter 4 and section 4.3. Assess whether the inheritance material should move earlier and whether the type classes and props discussion belongs in Chapter 4; done means reaching and documenting an editorial decision.

Written by the indexing model from the issue text.

Description

This is a fantastic section. It was really fun and easy to read. In fact, it's so good I wished it had come sooner in the book!

Please consider having the initial inheritance section earlier (even Ch 1?). As a developer that's familiar with inheritance, I would have wanted to know about this sooner. The second half of the section (after "Default Declarations"), including the discussion of type classes and props seems to fit neatly in Ch 4 (perhaps somewhere after 4.3).

I feel that perhaps for people not already familiar with Functors/Applicative Functors/Monads (already being "scary" words), this section may take the focus away from the main topic.

Dominant language
Lean
Stars
211
Forks
83
Avg merge
8m
Merged PRs (30d)
5

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from leanprover/fp-lean

All issues in leanprover/fp-lean

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.