6
6
7
7
= head1 Abstract Class
8
8
9
- The generic Computer Science term "abstract L < /Class| class> " defines the
10
- L < /Interface| interface> or L < / API> of a class. In Perl 6, this is
11
- implemented using L < /Role| roles> with L < /Stub| stubbed> methods.
9
+ The generic Computer Science term "abstract L < class|Class > " defines the
10
+ L < interface|Interface > or L < API > of a class. In Perl 6, this is
11
+ implemented using L < roles|Role > with L < stubbed|Stub > methods.
12
12
13
13
role Canine {
14
14
method bark { ... } # the ... indicates a stub
@@ -46,7 +46,7 @@ followed by a name (for the key):
46
46
47
47
:20seconds # same as seconds => 20
48
48
49
- Also see L < / Colon Pair and Colon List> .
49
+ Also see L < Colon Pair and Colon List > .
50
50
51
51
= head1 Anonymous
52
52
@@ -68,13 +68,13 @@ Note that it is still allowed to have a name
68
68
69
69
= head1 Any
70
70
71
- The L < /Class| class> from which most things derive (inherit), except for
72
- L < /Junction| junctions> . C < Any > itself derives from L < / Mu> .
71
+ The L < class|Class > from which most things derive (inherit), except for
72
+ L < junctions|Junction > . C < Any > itself derives from L < Mu > .
73
73
74
74
= head1 any()
75
75
76
- A function generating a L < /Junction| junction> with "or" semantics (aka,
77
- L < / True> if any of its values are C < True > .
76
+ A function generating a L < junction|Junction > with "or" semantics (aka,
77
+ L < True > if any of its values are C < True > .
78
78
79
79
= head1 API
80
80
@@ -86,44 +86,44 @@ See also L<Abstract Class>.
86
86
87
87
= head1 Apocalypse
88
88
89
- A document originally written by L < / TimToady> , in which he processed the
89
+ A document originally written by L < TimToady > , in which he processed the
90
90
initial barrage of RFC's that came out of the Perl community. Now only kept
91
- as an historical document for reference. See also L < / Exegesis> and
92
- L < / Synopsis> .
91
+ as an historical document for reference. See also L < Exegesis > and
92
+ L < Synopsis > .
93
93
94
94
= head1 Arity
95
95
96
- The number of L < /Positional| positional> operands expected by an
97
- L < /Operator| operator> , L < /Subroutine| subroutine> , L < /Method| method> or
98
- L < /Callable| callable block> .
96
+ The number of L < positional|Positional > operands expected by an
97
+ L < operator|Operator > , L < subroutine|Subroutine > , L < method|Method > or
98
+ L < callable block|Callable > .
99
99
100
100
sub infix:<+>(Foo $a, Foo $b) { $a.Int + $b.Int } # arity of "+" is 2
101
101
sub frobnicate($x) { ... } # arity of 1
102
102
sub the-answer() { 42 } # arity of 0
103
103
-> $key, $value { ... } # arity of 2
104
104
105
- The arity of a C < / Callable> is one of the main selectors in
106
- L < /Multi-Dispatch| multi-dispatch> .
105
+ The arity of a C < Callable > is one of the main selectors in
106
+ L < multi-dispatch|Multi-Dispatch > .
107
107
108
108
= head1 Attribute
109
109
110
110
A per-object storage slot. Other programming languages refer to this as
111
- C < Field > , C < Member > , C < Slot > or C < Property > .
111
+ L < Field > , L < Member > , L < Slot > or L < Property > .
112
112
113
- In Perl 6, attributes are defined with the L < / has> keyword inside a
114
- L < /Class| class> :
113
+ In Perl 6, attributes are defined with the L < has > keyword inside a
114
+ L < class|Class > :
115
115
116
116
class Dog {
117
117
has $.name; # public attribute "name"
118
118
}
119
119
120
120
= head1 Autothreading
121
121
122
- Autothreading is what happens if you pass a L < /type/Junction| Junction > to
122
+ Autothreading is what happens if you pass a L < Junction| /type/Junction> to
123
123
a subroutine that expects a parameter of type C < Any > or a subtype thereof
124
- (such as anything L < / Cool> ). The call is then executed for each value of
125
- the junction. The result of these calls is assembled in a new junction of
126
- the same type as the original junction.
124
+ (such as anything L < Cool|/type/ Cool> ). The call is then executed for each
125
+ value of the junction. The result of these calls is assembled in a new
126
+ junction of the same type as the original junction.
127
127
128
128
sub f($x) { 2 * $x };
129
129
say f(1|2|3) == 4; # any(False,True,False)
@@ -175,7 +175,7 @@ with the appropriate sigil:
175
175
:%mapper # same as mapper => %mapper
176
176
:&test # same as test => &test
177
177
178
- See also L < / Adverb> .
178
+ See also L < Adverb > .
179
179
180
180
= head1 Constraint
181
181
@@ -191,7 +191,7 @@ The C<Str> in the above example is also a constraint, but is usually
191
191
referred to as a "type constraint."
192
192
193
193
Note that you can elso differentiate candidates in a
194
- L < /Multi-Dispatch| multi-dispatch> by using a different constraint:
194
+ L < multi-dispatch|Multi-Dispatch > by using a different constraint:
195
195
196
196
multi sub abbreviate(Str $thing where { .chars >= 10 }) {
197
197
"$thing.substr(0,10)..."
@@ -203,7 +203,7 @@ L</Multi-Dispatch|multi-dispatch> by using a different constraint:
203
203
204
204
= head1 Field
205
205
206
- See L < / Attribute> .
206
+ See L < Attribute > .
207
207
208
208
= head1 Instance
209
209
@@ -233,14 +233,14 @@ C<defined($instance)> is C<True>.
233
233
To put things another way, a class contains the blueprints of methods and
234
234
attributes, and an instance carries it into the real world.
235
235
236
- = head2 IRC
236
+ = head1 IRC
237
237
238
238
Internet Relay Chat. Perl 6 developers and users usually hang out on the
239
- C < #perl6 > channel of L < /Freenode| irc.freenode.org> .
239
+ C < #perl6 > channel of C < irc.freenode.org > .
240
240
241
241
= head1 IRC Lingo
242
242
243
- The following terms are often used on the Perl 6 related L < / IRC> channels:
243
+ The following terms are often used on the Perl 6 related L < IRC > channels:
244
244
245
245
= head2 AFAICS
246
246
@@ -269,20 +269,20 @@ know, and I don't care.
269
269
270
270
= head2 backlog
271
271
272
- That part of a discussion on an L < / IRC> channel that you've missed. If it
272
+ That part of a discussion on an L < IRC > channel that you've missed. If it
273
273
is not or no longer available in your IRC client, you can go to sites such
274
274
as L < http://irc.perl6.org > to see what has been logged for you.
275
275
276
276
= head2 BIAB
277
277
278
- Back In A Bit. As in, only L < /AFK| afk> for a little while.
278
+ Back In A Bit. As in, only L < afk|AFK > for a little while.
279
279
280
280
= head2 Bot
281
281
282
- A program that does automatic tasks on one or more L < / IRC> channels by
282
+ A program that does automatic tasks on one or more L < IRC > channels by
283
283
acting like a regular user (as far as the IRC server is concerned) and
284
284
performing some tasks that may involve answering to users requests.
285
- Examples are L < /Camelia| camelia> , L < /Dalek| dalek> and L < /Yoleaux| yoleaux> .
285
+ Examples are L < camelia > , L < dalek > and L < yoleaux > .
286
286
287
287
= head2 BRB
288
288
@@ -371,8 +371,8 @@ No Such Thing
371
371
372
372
= head2 Opt
373
373
374
- Short for "optimization", usually in either the context of L < / spesh> or
375
- L < / JIT> .
374
+ Short for "optimization", usually in either the context of L < spesh > or
375
+ L < JIT > .
376
376
377
377
= head2 PB
378
378
@@ -385,7 +385,7 @@ when programming Perl 5.
385
385
386
386
= head2 PR
387
387
388
- Pull Request. A feature of L < Github| https://gitub.com> that allows you to
388
+ Pull Request. A feature of L < https://gitub.com|Github > that allows you to
389
389
make patches to be easily applied using the Github user interface.
390
390
391
391
= head2 P5
@@ -403,11 +403,11 @@ Real Soon Now
403
403
= head2 RT
404
404
405
405
Request Tracker (L < http://rt.perl.org/ > ). The place where all the bugs
406
- related to L < / Rakudo> live.
406
+ related to L < Rakudo > live.
407
407
408
408
= head2 TIMTOWTDI
409
409
410
- An alternative form of L < / TMTOWTDI> , explicitly including the "is" from
410
+ An alternative form of L < TMTOWTDI > , explicitly including the "is" from
411
411
the contraction "There's".
412
412
413
413
= head2 TMI
@@ -436,7 +436,7 @@ Wikipedia
436
436
437
437
= head2 WW
438
438
439
- Short for C < wrong window > . When on L < / IRC> , someone types something in a
439
+ Short for C < wrong window > . When on L < IRC > , someone types something in a
440
440
channel that was intended for another channel, or for a private message.
441
441
442
442
= head1 Invocant
@@ -502,15 +502,15 @@ pre-compiled file).
502
502
503
503
= head1 Member
504
504
505
- See L < / Attribute> .
505
+ See L < Attribute > .
506
506
507
507
= head1 Property
508
508
509
- See L < / Attribute> .
509
+ See L < Attribute > .
510
510
511
511
= head1 Slot
512
512
513
- See L < / Attribute> .
513
+ See L < Attribute > .
514
514
515
515
= head1 Slurpy
516
516
0 commit comments