Skip to content

Commit 7196c85

Browse files
committed
Fix typos
1 parent fbdcc94 commit 7196c85

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

doc/Language/list.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ promptly during assignment to the array, if they cannot be caught at compile
302302
time. None of the core functions provided in Perl 6 for operating on lists
303303
should ever produce a wonky typed Array.
304304
305-
Nonexistant elements (when indexed), or elements to which C<Nil> has been assigned,
305+
Nonexistent elements (when indexed), or elements to which C<Nil> has been assigned,
306306
will assume a default value. This default may be adjusted on a variable-by-variable
307307
basis with the C<is default> trait. Note that an untyped C<@>-sigiled variable has
308308
an element type of C<Mu>, however its default value is an undefined C<Any>:

doc/Language/modules.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@ passing C<:DEFAULT> to C<use> along with your positional parameters. Type captur
265265
sub EXPORT($short_name?, ::T) {
266266
role R[::TT] { }
267267
class C { }
268-
multi sub infix:<~>(C \l, T \r){ note "supressed concat with: ", T.WHAT; };
269-
multi sub infix:<~>(T \l, C \r){ note "supressed concat with: ", T.WHAT; };
268+
multi sub infix:<~>(C \l, T \r){ note "suppressed concat with: ", T.WHAT; };
269+
multi sub infix:<~>(T \l, C \r){ note "suppressed concat with: ", T.WHAT; };
270270
{
271271
do $short_name => MyModule::Class if $short_name,
272272
'MixedC' => C but R.^parameterize(T), # workaround for RT#127256

doc/Language/syntax.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ the middle, but not two in a row.
155155
fish-food
156156
157157
# not valid identifiers:
158-
with-nubmers1234-5
158+
with-numbers1234-5
159159
42
160160
is-prime?
161161
fish--food
@@ -330,7 +330,7 @@ constructing them: C<< key => 'value' >> and C<:key('value')>.
330330
331331
Arrow pairs can have an expression or an identifier on the left-hand side:
332332
333-
identifer => 42
333+
identifier => 42
334334
"identifier" => 42
335335
('a' ~ 'b') => 1
336336

doc/Type/Metamodel/AttributeContainer.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ this object, that is, if new public attributes are writable by default.
5555
5656
TODO: compose_attributes, get_attribute_for_usage
5757
58-
Also TODO: desribe :local, :excl, :all options of method attributes
58+
Also TODO: describe :local, :excl, :all options of method attributes
5959
6060
=end comment
6161

doc/Type/Slip.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ C<Slip> method, or use the C<slip> subroutine:
2828
2929
A C<Slip> may also be created by using the C<prefix:<|>> operator. This differs
3030
from the C<slip> subroutine in both precedence and treatment of single arguments.
31-
In fact, C<prefix:<|>> only takes a single argment, so it that way, it behaves
31+
In fact, C<prefix:<|>> only takes a single argument, so it that way, it behaves
3232
closer to the C<.Slip> method than the C<slip> subroutine.
3333
3434
my $l = (1,2,3);

doc/Type/X/Channel/ReceiveOnClosed.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
class X::Channel::ReceiveOnClosed { ... }
88
9-
This exception is thrown when a calling C<receive> on a L<Channel|/type/Channel> thas has been closed:
9+
This exception is thrown when a calling C<receive> on a L<Channel|/type/Channel> that has been closed:
1010
1111
my $s = Channel.new;
1212
$s.close;

doc/Type/X/Channel/SendOnClosed.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
class X::Channel::SendOnClosed { ... }
88
9-
This exception is thrown when a calling C<send> on a L<Channel|/type/Channel> thas has been closed:
9+
This exception is thrown when a calling C<send> on a L<Channel|/type/Channel> that has been closed:
1010
1111
my $s = Channel.new;
1212
$s.close;

util/new-type.p6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ sub MAIN($typename, :$kind='class') {
4040
TEMPLATE
4141

4242
say "'$path' written";
43-
say "(remeber to 'git add $path')";
43+
say "(remember to 'git add $path')";
4444
}
4545

4646
# vim: expandtab shiftwidth=4 ft=perl6

util/update-and-sync

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ else
2525
# under version control there, and because of html/build-log/
2626
find html/ -name '*.html' -delete
2727

28-
# if the htmilfy fails, sync the build log.
28+
# if the htmlify fails, sync the build log.
2929
# since sync-build-log returns false, not the whole thing is synced
3030
time ./htmlify.p6 || ./util/sync-build-log
3131
./util/sync

0 commit comments

Comments
 (0)