Skip to content

[basics/ranges] Improve docs (part 2) - #389

Merged
thewilsonator merged 1 commit into
dlang-tour:masterfrom
ntrel:ranges2
Jun 30, 2026
Merged

[basics/ranges] Improve docs (part 2)#389
thewilsonator merged 1 commit into
dlang-tour:masterfrom
ntrel:ranges2

Conversation

@ntrel

@ntrel ntrel commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Fix capitalization in headings & fix heading levels.
Improve wording.
Don't show actual interface definitions (most ranges are structs which can't implement an interface).
Use 'primitives' instead of 'methods' to include UFCS.
Don't use InputRange etc capitalization as that suggests a type.
Split out random access from bidirectional, random access requires bidirectional (not forward range).
Explain examples.

Fix capitalization in headings & fix heading levels.
Improve wording.
Don't show actual `interface` definitions, most ranges are structs which
can't implement an `interface`.
Split out random access from bidirectional, random access requires
bidirectional (not forward range).
Explain examples.
@thewilsonator
thewilsonator merged commit 8798c94 into dlang-tour:master Jun 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants