Skip to content

Commit d32bc48

Browse files
committed
fix more links #561
1 parent 30d16ad commit d32bc48

35 files changed

+113
-111
lines changed

doc/Type/Any.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ However, this is a multi with different signatures, which are implemented with
797797
(slightly) different behavior, although using it as a subroutine is equivalent
798798
to using it as a method with the second argument as the object.
799799
800-
For starters, using a C<Bool> as the argument will always return a L<Failure>.
800+
For starters, using a C<Bool> as the argument will always return a L<Failure|/type/Failure>.
801801
The form that uses a C<$test> will return the first element that smartmatches
802802
it, starting from the end if C<:end> is used.
803803

doc/Type/Backtrace.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class Backtrace {}
88
99
A backtrace contains the dynamic call stack, usually leading up to a point where
10-
an exception was thrown, and is a List of L<Backtrace::Frame> objects. Its
10+
an exception was thrown, and is a List of L<Backtrace::Frame|/type/Backtrace::Frame> objects. Its
1111
default stringification excludes backtrace frames that are deemed unnecessary or
1212
confusing; for example routines like C<&die> are hidden by default. Being a
1313
list, you can also access individual elements.
@@ -130,7 +130,7 @@ Defined as:
130130
131131
multi method list(Backtrace:D:)
132132
133-
Returns a list of L<Backtrace::Frame> objects for this backtrace.
133+
Returns a list of L<Backtrace::Frame|/type/Backtrace::Frame> objects for this backtrace.
134134
135135
=head2 method summary
136136

doc/Type/Bag.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ assigned to them signifying how many copies of that element are
1313
considered "in the bag". (For I<mutable> bags, see L<BagHash|/type/BagHash> instead.)
1414
1515
C<Bag>s are often used for performing weighted random selections - see
16-
L<.pick|pick> and L<.roll|roll>.
16+
L<.pick|/routine/pick> and L<.roll|/routine/roll>.
1717
1818
Objects/values of any type are allowed as bag elements. Within a
19-
C<Bag>, items that would compare positively with the L<===> operator are
19+
C<Bag>, items that would compare positively with the L<===|/routine/===> operator are
2020
considered the same element, with the number of how many there are as
2121
its weight. But of course you can also easily get back the expanded
2222
list of items (without the order):

doc/Type/BagHash.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ them signifying how many copies of that element are considered "in the bag".
1212
(For I<immutable> bags, see L<Bag|/type/Bag> instead.)
1313
1414
Objects/values of any type are allowed as bag elements. Within a C<BagHash>,
15-
items that would compare positively with the L<===> operator are considered the
15+
items that would compare positively with the L<===|/routine/===/> operator are considered the
1616
same element, with the number of how many there were as its weight. But of
1717
course you can also easily get back the expanded list of items (without the
1818
order):

doc/Type/Channel.pod6

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ Defined as:
3434
method send(Channel:D: \item)
3535
3636
Enqueues an item into the C<Channel>. Throws an exception of type
37-
L<X::Channel::SendOnClosed> if the channel has been closed already.
38-
This call will B<not> block waiting for a consumer to take the object.
37+
L<X::Channel::SendOnClosed|/type/X::Channel::SendOnClosed> if the channel has been
38+
closed already. This call will B<not> block waiting for a consumer to take the object.
3939
There is no set limit on the number of items that may be queued, so
4040
care should be taken to prevent runaway queueing.
4141
@@ -55,9 +55,9 @@ Receives and removes an item from the channel. It blocks if no item is
5555
present, waiting for a C<send> from another thread.
5656
5757
Throws an exception of
58-
type L<X::Channel::ReceiveOnClosed> if the channel has been closed, and the
59-
last item has been removed already, or if C<close> is called while C<receive>
60-
is waiting for an item to arrive.
58+
type L<X::Channel::ReceiveOnClosed|/type/X::Channel::ReceiveOnClosed> if the channel
59+
has been closed, and the last item has been removed already, or if C<close> is called
60+
while C<receive> is waiting for an item to arrive.
6161
6262
If the channel has been marked as erratic with method C<fail>, and the last
6363
item has been removed, throws the argument that was given to C<fail> as an
@@ -97,11 +97,11 @@ Defined as:
9797
method close(Channel:D:)
9898
9999
Close the C<Channel>, normally. This makes subsequent C<send> calls die with
100-
L<X::Channel::SendOnClosed>. Subsequent calls of C<.receive> may still drain
101-
any remaining items that were previously sent, but if the queue is empty, will
102-
throw an L<X::Channel::ReceiveOnClosed> exception. Since you can produce a
103-
C<Seq> from a Channel by contextualizing to array with C<@()> or by calling the
104-
C<.list> method, these methods will not terminate until the channel has been
100+
L<X::Channel::SendOnClosed|/type/X::Channel::SendOnClosed>. Subsequent calls of
101+
C<.receive> may still drain any remaining items that were previously sent, but if
102+
the queue is empty, will throw an L<X::Channel::ReceiveOnClosed|/type/X::Channel::ReceiveOnClosed>
103+
exception. Since you can produce a C<Seq> from a Channel by contextualizing to array with C<@()>
104+
or by calling the C<.list> method, these methods will not terminate until the channel has been
105105
closed. A L<whenever|/language/concurrency#index-entry-whenever>-block will also
106106
terminate properly on a closed channel.
107107

doc/Type/Code.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Defined as:
131131
132132
multi method signature(Code:D: --> Signature:D)
133133
134-
Returns the L<C<Signature>> object for this code object, which describes
134+
Returns the L<C<Signature>|/type/Signature> object for this code object, which describes
135135
its parameters.
136136
137137
sub a(Int $one, Str $two) {};

doc/Type/CompUnit.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Returns the authority information with which the C<CompUnit> object was created
2323
2424
method distribution(--> Distribution:D)
2525
26-
Returns the L<Distribution> object with which the C<CompUnit> object was
26+
Returns the L<Distribution|/type/Distribution> object with which the C<CompUnit> object was
2727
created (if any).
2828
2929
=head2 method from
@@ -43,7 +43,7 @@ Returns whether the C<CompUnit> object originated from a precompiled source.
4343
4444
method repo(--> CompUnit::Repository:D)
4545
46-
Returns the L<CompUnit::Repository> object with which the C<CompUnit> object
46+
Returns the L<CompUnit::Repository|/type/CompUnit::Repository> object with which the C<CompUnit> object
4747
was created.
4848
4949
=head2 method repo-id

doc/Type/CompUnit/Repository.pod6

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,36 +5,36 @@
55
=SUBTITLE CompUnit::Repository
66
77
The C<CompUnit::Repository> role defines the interface of the implementation
8-
of CompUnit::Repositories such as L<CompUnit::Repository::Installation> and
9-
L<CompUnit::Repository::FileSystem>.
8+
of CompUnit::Repositories such as L<CompUnit::Repository::Installation|/type/CompUnit::Repository::Installation>
9+
and L<CompUnit::Repository::FileSystem|/type/CompUnit::Repository::FileSystem>.
1010
1111
=head1 Methods
1212
1313
=head2 method resolve
1414
1515
method resolve(CompUnit::DependencySpecification $spec --> CompUnit:D)
1616
17-
Returns a L<CompUnit> mapped to the highest version distribution matching
17+
Returns a L<CompUnit|/type/CompUnit> mapped to the highest version distribution matching
1818
C<$spec> from the first repository in the repository chain that contains any
1919
version of a distribution matching C<$spec>.
2020
2121
=head2 method need
2222
23-
Loads and returns a L<CompUnit> which is mapped to the highest version
23+
Loads and returns a L<CompUnit|/type/CompUnit> which is mapped to the highest version
2424
distribution matching C<$spec> from the first repository in the repository
2525
chain that contains any version of a distribution matching C<$spec>.
2626
2727
=head2 method load
2828
2929
method load(IO::Path:D $file --> CompUnit:D)
3030
31-
Load the C<$file> and return a L<CompUnit> object representing it.
31+
Load the C<$file> and return a L<CompUnit|/type/CompUnit> object representing it.
3232
3333
=head2 method loaded
3434
3535
method loaded(--> Iterable:D)
3636
37-
Returns all L<CompUnit>s this repository has loaded.
37+
Returns all L<CompUnit|/type/CompUnit>s this repository has loaded.
3838
3939
=end pod
4040

doc/Type/Cool.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ Defined as:
716716
B<DEPRECATED>. I<It's been deprecated as of the 6.d version. Will be removed in
717717
the next ones.>
718718
719-
Stringifies the invocant and converts it to L<IO::Path> object.
719+
Stringifies the invocant and converts it to L<IO::Path|/type/IO::Path> object.
720720
Use the L«C<.IO method>|/routine/IO» instead.
721721
722722
=head2 routine chr
@@ -1429,7 +1429,7 @@ Defined as:
14291429
14301430
method IO(--> IO::Path:D)
14311431
1432-
Coerces the invocant to L<IO::Path>.
1432+
Coerces the invocant to L<IO::Path|/type/IO::Path>.
14331433
14341434
=for code
14351435
.say for '.'.IO.dir; # gives a directory listing

doc/Type/DateTime.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ ISO 8601 standard, as we allow Unicode digits and mixing of condensed
7171
and extended time formats.
7272
7373
An invalid input string throws an exception of type
74-
L<X::Temporal::InvalidFormat>. If you supply a string that includes a time
74+
L<X::Temporal::InvalidFormat|/type/X::Temporal::InvalidFormat>. If you supply a string that includes a time
7575
zone and supply the C<timezone> named argument, an exception of type
76-
L<X::DateTime::TimezoneClash> is thrown.
76+
L<X::DateTime::TimezoneClash|/type/X::DateTime::TimezoneClash> is thrown.
7777
7878
my $datetime = DateTime.new(year => 2015,
7979
month => 1,

0 commit comments

Comments
 (0)