Skip to content

Commit 873882e

Browse files
committed
Fix some links
Part of #4476
1 parent dc3b52b commit 873882e

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

doc/Language/operators.rakudoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2348,7 +2348,7 @@ say infix:<eqv>(False); # OUTPUT: «True␤»
23482348

23492349
sub infix:<===>(Any, Any)
23502350

2351-
The ASCII equivalent of L<C<⩶>|#infix_⩶>, the value identity oprator
2351+
The ASCII equivalent of L<C<⩶>|#infix_⩶>, the value identity operator.
23522352

23532353
Before Rakudo version 2021.07, the ASCII variant was the I<only> variant.
23542354

doc/Language/variables.rakudoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ L<positional-sigil|/language/containers#Flattening,_items_and_containers>
2525
and the
2626
L<associative-sigil|/language/containers#Flattening,_items_and_containers>
2727
provide type constraint that enforce base type
28-
L<subscripts|/language/subscripts#TOC_Title> required to know what
28+
L<subscripts|/language/subscripts> required to know what
2929
methods to dispatch to. The
3030
L<callable-sigil|/language/containers#Callable_containers> does the same
3131
for function calls. The latter also tells the compiler where parentheses
@@ -456,7 +456,7 @@ the fact that they create blocks.
456456

457457
Just like the C<^>twigil, the C<:> twigil can be combined with any sigil; using
458458
C<:> with a sigil will create a formal named parameter with that sigil (applying
459-
the L<semantics of that sigil|#Sigil>). Thus C<@:array>, C<%:hash>, and
459+
the L<semantics of that sigil|#Sigils>). Thus C<@:array>, C<%:hash>, and
460460
C<&:fun> are all valid, and each creates a formal named parameter with the
461461
specified sigil.
462462

@@ -599,7 +599,7 @@ new-location; # OUTPUT: «outside␤»
599599
=end code
600600

601601
To make C<new-location()> print C<nowhere>, make C<$location> a dynamic variable
602-
using L<the * twigil|#The_*_Twigil>. This twigil makes the compiler look up the
602+
using L<the * twigil|#The_*_twigil>. This twigil makes the compiler look up the
603603
symbol in the calling scope instead of the outer scope after trying the local
604604
scope.
605605

@@ -1077,7 +1077,7 @@ re-applied by assigning L<C<Nil>|/type/Nil> to it:
10771077
=head2 Default defined variables pragma
10781078

10791079
To force all variables to have a
1080-
L<definiteness|/language/mop#index-entry-syntax_DEFINITE-DEFINITE> constraint,
1080+
L<definiteness|/language/mop#DEFINITE> constraint,
10811081
use the pragma C<use variables :D>. The pragma is lexically scoped and can be
10821082
switched off with C<use variables :_>.
10831083

@@ -1300,7 +1300,7 @@ they do to C<$/>.
13001300
X<|Language,cursor variable>
13011301
=head3 The C<$¢> variable
13021302

1303-
See the description in L<C<Match>|/type/Match#index-entry-$%C2%A2-$%C2%A2>.
1303+
See the description in L<C<Match>|/type/Match>.
13041304

13051305
X<|Variables,$?FILE>X<|Variables,$?LINE>X<|Variables,::?CLASS>
13061306

@@ -1447,7 +1447,7 @@ sub do-work {
14471447
do-work;
14481448
=end code
14491449

1450-
Note that, in a L<C«multi»|/language/functions#index-entry-declarator_multi-Multi-dispatch>,
1450+
Note that, in a L<C«multi»|/language/functions#Multi-dispatch>,
14511451
C<&?ROUTINE> refers to the current candidate, I<not> the C<multi>
14521452
as a whole.
14531453

doc/Type/Any.rakudoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ don't really have keys.
639639

640640
method flatmap(&block, :$label)
641641

642-
Convenience method, analogous to L<C<.map(&block)>|#method_map>L<C<.flat>|#method_flat>.
642+
Convenience method, analogous to L<C<.map(&block)>|#routine_map>L<C<.flat>|#method_flat>.
643643

644644
=head2 method roll
645645

@@ -1470,7 +1470,7 @@ Non-L<C<Int>|/type/Int> values of C<$batch> will be coerced to Int:
14701470

14711471
say (3..9).rotor(3+⅓); # OUTPUT: «((3 4 5) (6 7 8))␤»
14721472

1473-
Please see also L<C<list.rotor>|/type/List#method_rotor> for examples applied to
1473+
Please see also L<C<list.rotor>|/type/List#routine_rotor> for examples applied to
14741474
lists.
14751475

14761476
=head2 method sum
@@ -1493,7 +1493,7 @@ It will fail if any of the elements cannot be converted to a number.
14931493
Available as of the 2021.02 release of the Rakudo compiler.
14941494

14951495
Converts the invocant to a L<C<Seq>|/type/Seq> and then calls the
1496-
L<slice method|/type/Seq#method_slice> on it.
1496+
L<slice method|/type/Seq#multi_method_slice> on it.
14971497

14981498
say (1..10).slice(0, 3..6, 8); # OUTPUT: «(1 4 5 6 7 9)␤»
14991499

doc/Type/List.rakudoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ nor the elements themselves can be changed. Thus, it is not possible to use
2424
operations that change the list structure itself such as L<shift|/routine/shift>,
2525
L<unshift|/routine/unshift>, L<push|/routine/push>, L<pop|/routine/pop>,
2626
L<splice|/routine/splice>
27-
and L<binding|/language/operators#index-entry-Binding_operator>.
27+
and L<binding|/language/operators#Operators>.
2828

2929
=begin code
3030
(1, 2, 3).shift; # Error Cannot call 'shift' on an immutable 'List'
@@ -403,7 +403,7 @@ be handled in the context of that L<C<Routine>|/type/Routine>.
403403

404404
method flatmap(List:D: &code --> Seq:D)
405405

406-
Convenience method, analogous to L<C<.map(&block)>|#method_map>L<C<.flat>|#method_flat>.
406+
Convenience method, analogous to L<C<.map(&block)>|#routine_map>L<C<.flat>|/type/Iterable#method_flat>.
407407

408408
=head2 method gist
409409

@@ -583,7 +583,7 @@ that as the number of elements in the output L<C<Seq>|/type/Seq>.
583583
multi categorize($test, +items, *%named )
584584

585585
These methods are directly inherited from L<C<Any>|/type/Any>; see
586-
L<C<Any.list>|/routine/categorize#(Any)_method_categorize> for more examples.
586+
L<C<Any.list>|/type/Any#routine_categorize> for more examples.
587587

588588
This routine transforms a list of values into a hash representing the
589589
categorizations of those values according to C<$test>, which is called once for
@@ -982,7 +982,7 @@ depends on the operator. In the functional programming world, this operation is
982982
generally called a L<fold|https://en.wikipedia.org/wiki/Fold_%28higher-order_function%29#Folds_on_lists>.
983983
With a right-associative operator it is a I<right fold>, otherwise (and usually)
984984
it is a I<left fold>. In Raku, you can specify the associativity of an operator
985-
with the L<C«is assoc»|/language/functions#index-entry-is_assoc_(trait)>.
985+
with the L<C«is assoc»|/language/functions#index-entry-is_assoc> trait.
986986

987987
sub infix:<foo>($a, $b) is assoc<right> { "($a, $b)" }
988988
say [foo] 1, 2, 3, 4; # OUTPUT: «(1, (2, (3, 4)))␤»

0 commit comments

Comments
 (0)