File tree Expand file tree Collapse file tree 4 files changed +10
-11
lines changed Expand file tree Collapse file tree 4 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -282,11 +282,11 @@ Returns a list with key and value of the enum-pair.
282
282
283
283
TODO
284
284
285
- = head3 Versioning and Authership
285
+ = head3 Versioning and Authorship
286
286
287
- Versioning and authership can be applied via adverbs C « :ver<> » and C « :auth<>.
287
+ Versioning and authorship can be applied via adverbs C « :ver<> » and C « :auth<>.
288
288
Both take a string as argument, for C < :ver > the string is converted to a
289
- L < Version|/type/Version > object. To query a modules version and auther use
289
+ L < Version|/type/Version > object. To query a modules version and author use
290
290
C < .^ver > and C < ^.auth > .
291
291
292
292
module M:ver<4.2.3>:auth<me@here.local> {}
@@ -295,19 +295,19 @@ C<.^ver> and C<^.auth>.
295
295
296
296
= head2 C < package >
297
297
298
- = head3 Versioning and Authership
298
+ = head3 Versioning and Authorship
299
299
300
300
TODO
301
301
302
302
= head2 C < grammar >
303
303
304
304
TODO
305
305
306
- = head3 Versioning and Authership
306
+ = head3 Versioning and Authorship
307
307
308
- Versioning and authership can be applied via adverbs C « :ver<> » and C « :auth<>.
308
+ Versioning and authorship can be applied via adverbs C « :ver<> » and C « :auth<>.
309
309
Both take a string as argument, for C < :ver > the string is converted to a
310
- L < Version|/type/Version > object. To query a grammars version and auther use
310
+ L < Version|/type/Version > object. To query a grammars version and author use
311
311
C < .^ver > and C < ^.auth > .
312
312
313
313
grammar G:ver<4.2.3>:auth<me@here.local> {}
Original file line number Diff line number Diff line change @@ -392,7 +392,7 @@ C<Associative> roles.
392
392
393
393
= head2 The C < ~ > Twigil
394
394
395
- Note: Slangs are NYI in Rakudo.
395
+ Note: Slangs are L < NYI|/language/glossary#NYI > in Rakudo.
396
396
397
397
The C < ~ > twigil is for referring to sublanguages (called slangs). The
398
398
following are useful:
Original file line number Diff line number Diff line change @@ -179,8 +179,7 @@ Defined as:
179
179
180
180
C < duckmap > will apply C < &block > on each element and return a new list with
181
181
defined return values of the block. For undefined return values, C < duckmap >
182
- will try to descend into the element if that element is implementing
183
- C < Iterable > .
182
+ will try to descend into the element if that element implements C < Iterable > .
184
183
185
184
my @a = [1,[2,3],4];
186
185
dd @a.duckmap({ $_ ~~ Int ?? $_++ !! Any });
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Returns a pseudo random number between 0 and the invocant.
27
27
28
28
sub srand(Int $seed) returns Int:D
29
29
30
- Seeds the pseudo random number generator used by L < Num.rand|/typeNum#rand) with
30
+ Seeds the pseudo random number generator used by L < Num.rand|/typeNum#rand > with
31
31
the provided value. Note that C < srand > is called with a platform dependent
32
32
value when a Perl 6 program is started.
33
33
You can’t perform that action at this time.
0 commit comments