Skip to content

Commit 5dfdc35

Browse files
committed
fix some broken links #4476
1 parent c08de7c commit 5dfdc35

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

doc/Language/modules.rakudoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ zef install ./your-module-folder
10281028

10291029
Note that doing so precompiles and installs your module. If you make changes to
10301030
the source, you'll need to re-install the module.
1031-
(See C<use lib> L<pragma|/language/pragmas#index-entry-lib__pragma>, C<-I>
1031+
(See C<use lib> L<pragma|/language/pragmas#lib>, C<-I>
10321032
command line switch, or C<RAKULIB> environment variable, to include a path to your
10331033
module source while developing it, so you don't have to install it at all).
10341034

doc/Language/regexes.rakudoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ you:
546546
say "u\x[0308]" ~~ /\c[LATIN SMALL LETTER U]/; # OUTPUT: «Nil␤»
547547

548548
To match the unmodified character, you can use the
549-
L<C<:ignoremark>|#regex_adverb,:ignoremark> adverb.
549+
L<C<:ignoremark>|#Ignoremark> adverb.
550550

551551
=head3 X<C<\x> and C<\X>|Regexes,\x;Regexes,\X>
552552

doc/Language/subscripts.rakudoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ implementation provided by L<C<Any>|/type/Any> (which is involved in auto-vivifi
825825
=head2 Methods to implement for positional subscripting
826826

827827
In order to make index-based subscripting via L<C<postcircumfix [ ]>|
828-
/routine/[ ]#postcircumfix_[_]> work for your custom type, you should
828+
/language/operators#postcircumfix_[_]> work for your custom type, you should
829829
implement at least C<elems>, C<AT-POS> and C<EXISTS-POS> - and optionally
830830
others as detailed below.
831831

@@ -835,7 +835,7 @@ others as detailed below.
835835

836836
Expected to return a number indicating how many subscriptable elements
837837
there are in the object. May be called by users directly, and is also
838-
called by L<C<postcircumfix [ ]>|/routine/[ ]#postcircumfix_[_]> when
838+
called by L<C<postcircumfix [ ]>|/language/operators#postcircumfix_[_]> when
839839
indexing elements from the end, as in C<@foo[*-1]>.
840840

841841
If not implemented, your type will inherit the default implementation from
@@ -855,7 +855,7 @@ to avoid silently doing the wrong thing.
855855
methods below), after jnthn's ongoing refactor is finished.
856856

857857
Expected to return the element at position C<$index>. This is what
858-
L<C<postcircumfix [ ]>|/routine/[ ]#postcircumfix_[_]> normally calls.
858+
L<C<postcircumfix [ ]>|/language/operators#postcircumfix_[_]> normally calls.
859859

860860
If you want an element to be mutable (like they are for the built-in
861861
L<C<Array>|/type/Array> type), you'll have to make sure to return it in the form of
@@ -872,7 +872,7 @@ to make that work; see the L<example|/language/subscripts#Custom_type_example>.
872872

873873
Expected to return a Bool indicating whether or not there is an element at
874874
position C<$index>. This is what L<C<postcircumfix [ ]>|
875-
/routine/[ ]#postcircumfix_[_]> calls when invoked like C<@foo[42]:exists>.
875+
/language/operators#postcircumfix_[_]> calls when invoked like C<@foo[42]:exists>.
876876

877877
What "existence" of an element means, is up to your type.
878878

@@ -890,7 +890,7 @@ L<die|/routine/die>s, to avoid silently doing the wrong thing.
890890
multi method DELETE-POS (::?CLASS:D: $index)
891891

892892
Expected to delete the element at position C<$index>, and return the value
893-
it had. This is what L<C<postcircumfix [ ]>|/routine/[ ]#postcircumfix_[_]>
893+
it had. This is what L<C<postcircumfix [ ]>|/language/operators#postcircumfix_[_]>
894894
calls when invoked like C<@foo[42]:delete>.
895895

896896
What "deleting" an element means, is up to your type.
@@ -1022,7 +1022,7 @@ say @a; # OUTPUT: «[1,2,3,4]␤»
10221022
=head2 Methods to implement for associative subscripting
10231023

10241024
In order to make key-based subscripting via L<C<postcircumfix { }>|
1025-
/routine/{ }#postcircumfix_{_}> work for your custom type, you should
1025+
/language/operators#postcircumfix_{_}> work for your custom type, you should
10261026
implement at least C<AT-KEY> and C<EXISTS-KEY> - and optionally
10271027
others as detailed below.
10281028

@@ -1034,7 +1034,7 @@ others as detailed below.
10341034
multi method AT-KEY (::?CLASS:D: $key)
10351035

10361036
Expected to return the element associated with C<$key>. This is what
1037-
L<C<postcircumfix { }>|/routine/{ }#postcircumfix_{_}> normally calls.
1037+
L<C<postcircumfix { }>|/language/operators#postcircumfix_{_}> normally calls.
10381038

10391039
If you want an element to be mutable (like they are for the built-in
10401040
L<C<Hash>|/type/Hash> type), you'll have to make sure to return it in the form of
@@ -1053,7 +1053,7 @@ to return non-container values directly.
10531053
multi method EXISTS-KEY (::?CLASS:D: $key)
10541054

10551055
Expected to return a Bool indicating whether or not there is an element
1056-
associated with C<$key>. This is what L<C<postcircumfix { }>|/routine/{ }#postcircumfix_{_}>
1056+
associated with C<$key>. This is what L<C<postcircumfix { }>|/language/operators#postcircumfix_{_}>
10571057
calls when invoked like C<<%foo<aa>:exists>>.
10581058

10591059
What "existence" of an element means, is up to your type.
@@ -1072,7 +1072,7 @@ silently doing the wrong thing.
10721072
multi method DELETE-KEY (::?CLASS:D: $key)
10731073

10741074
Expected to delete the element associated with C<$key>, and return the
1075-
value it had. This is what L<C<postcircumfix { }>|/routine/{ }#postcircumfix_{_}> calls when invoked like
1075+
value it had. This is what L<C<postcircumfix { }>|/language/operators#postcircumfix_{_}> calls when invoked like
10761076
C<<%foo<aa>:delete>>.
10771077

10781078
What "deleting" an element means, is up to your type - though it should

doc/Language/typesystem.rakudoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ To test if an object is a type object, use
4040
L<smartmatch|/language/operators#index-entry-smartmatch_operator>
4141
against a type constrained with a
4242
L<type smiley|/language/signatures#Constraining_argument_definiteness> or
43-
L«C<.DEFINITE>|/language/mop#index-entry-syntax_DEFINITE-DEFINITE» method:
43+
L«C<.DEFINITE>|/language/mop#DEFINITE» method:
4444

4545
=begin code :ok-test<WHAT>
4646
my $a = Int;
@@ -130,7 +130,7 @@ automatically if no such scope exists already.
130130

131131
X«|Syntax,... (forward declaration)»
132132
X«Forward declarations|Language,Forward declarations» can be provided with a block containing only C<...>,
133-
the L<"stub" operator|/language/operators#index-entry-..._operators>. The
133+
the L<"stub" operator|/language/operators#listop_...>. The
134134
compiler will check at the end of the current scope if the type is defined.
135135

136136
class C {...}

0 commit comments

Comments
 (0)