Skip to content

Commit 5c06583

Browse files
committed
Keep homogenous-lists anchor; use REF instead of PHOBOS
1 parent befa434 commit 5c06583

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

articles/ctarguments.dd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $(HEADERNAV_TOC)
1515
$(P $(B Note:) For historical reasons these sequences can sometimes be called tuples in documentation or compiler
1616
internals, but don't get confused - they don't have much in common with tuples that
1717
commonly exist in other languages. Sequences of values of different types that can be
18-
returned from functions are provided by $(PHOBOS typecons, .Tuple, std.typecons.Tuple).
18+
returned from functions are provided by $(REF Tuple, std, typecons).
1919
Using the term "tuple" to mean compile-time sequences is discouraged to avoid confusion, and if encountered
2020
should result in a $(LINK2 https://issues.dlang.org, documentation bug report).
2121
)
@@ -167,7 +167,7 @@ $(H2 $(LNAME2 auto-expansion, Auto-expansion))
167167
the language semantics for variadic sequences, and thus also preserved by `AliasSeq`.
168168
)
169169

170-
$(H2 $(LNAME2 homogenous-sequences, Homogenous sequences))
170+
$(H2 $(LEGACY_LNAME2 homogenous-lists, homogenous-sequences, Homogenous sequences))
171171

172172
$(P An $(ALOCAL AliasSeq, AliasSeq) that consists of only type or value elements are
173173
commonly called "type sequences" or "value sequences" respectively. The concept of
@@ -223,7 +223,7 @@ $(H4 $(LNAME2 type-seq-instantiation, Type sequence instantiation))
223223
}
224224
---
225225

226-
$(P $(B Note:) $(PHOBOS typecons, .Tuple, std.typecons.Tuple) wraps a type sequence instance,
226+
$(P $(B Note:) $(REF Tuple, std, typecons) wraps a type sequence instance,
227227
preventing auto-expansion, and allowing it to be returned from functions.)
228228

229229
$(H3 $(LNAME2 value-seq, Value sequences))

dlang.org.ddoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ _=
331331
PC=$(TC p, $1, $+)
332332
_=
333333

334+
$(COMMENT Should be used only when link text is not std.$1.$2 - use REF instead)
334335
PHOBOS=$(SPANC phobos, $(AHTTPS dlang.org/phobos/std_$1.html#$2, $(TAIL $+)))
335336
PHOBOSSRC=$(SPANC phobos_src, $(AHTTPS github.com/dlang/phobos/blob/master/$0, $0))
336337
_=

0 commit comments

Comments
 (0)