Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Util committed Jan 22, 2016
1 parent fbdcc94 commit 7196c85
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion doc/Language/list.pod
Expand Up @@ -302,7 +302,7 @@ promptly during assignment to the array, if they cannot be caught at compile
time. None of the core functions provided in Perl 6 for operating on lists
should ever produce a wonky typed Array.
Nonexistant elements (when indexed), or elements to which C<Nil> has been assigned,
Nonexistent elements (when indexed), or elements to which C<Nil> has been assigned,
will assume a default value. This default may be adjusted on a variable-by-variable
basis with the C<is default> trait. Note that an untyped C<@>-sigiled variable has
an element type of C<Mu>, however its default value is an undefined C<Any>:
Expand Down
4 changes: 2 additions & 2 deletions doc/Language/modules.pod
Expand Up @@ -265,8 +265,8 @@ passing C<:DEFAULT> to C<use> along with your positional parameters. Type captur
sub EXPORT($short_name?, ::T) {
role R[::TT] { }
class C { }
multi sub infix:<~>(C \l, T \r){ note "supressed concat with: ", T.WHAT; };
multi sub infix:<~>(T \l, C \r){ note "supressed concat with: ", T.WHAT; };
multi sub infix:<~>(C \l, T \r){ note "suppressed concat with: ", T.WHAT; };
multi sub infix:<~>(T \l, C \r){ note "suppressed concat with: ", T.WHAT; };
{
do $short_name => MyModule::Class if $short_name,
'MixedC' => C but R.^parameterize(T), # workaround for RT#127256
Expand Down
4 changes: 2 additions & 2 deletions doc/Language/syntax.pod
Expand Up @@ -155,7 +155,7 @@ the middle, but not two in a row.
fish-food
# not valid identifiers:
with-nubmers1234-5
with-numbers1234-5
42
is-prime?
fish--food
Expand Down Expand Up @@ -330,7 +330,7 @@ constructing them: C<< key => 'value' >> and C<:key('value')>.
Arrow pairs can have an expression or an identifier on the left-hand side:
identifer => 42
identifier => 42
"identifier" => 42
('a' ~ 'b') => 1
Expand Down
2 changes: 1 addition & 1 deletion doc/Type/Metamodel/AttributeContainer.pod
Expand Up @@ -55,7 +55,7 @@ this object, that is, if new public attributes are writable by default.
TODO: compose_attributes, get_attribute_for_usage
Also TODO: desribe :local, :excl, :all options of method attributes
Also TODO: describe :local, :excl, :all options of method attributes
=end comment
Expand Down
2 changes: 1 addition & 1 deletion doc/Type/Slip.pod
Expand Up @@ -28,7 +28,7 @@ C<Slip> method, or use the C<slip> subroutine:
A C<Slip> may also be created by using the C<prefix:<|>> operator. This differs
from the C<slip> subroutine in both precedence and treatment of single arguments.
In fact, C<prefix:<|>> only takes a single argment, so it that way, it behaves
In fact, C<prefix:<|>> only takes a single argument, so it that way, it behaves
closer to the C<.Slip> method than the C<slip> subroutine.
my $l = (1,2,3);
Expand Down
2 changes: 1 addition & 1 deletion doc/Type/X/Channel/ReceiveOnClosed.pod
Expand Up @@ -6,7 +6,7 @@
class X::Channel::ReceiveOnClosed { ... }
This exception is thrown when a calling C<receive> on a L<Channel|/type/Channel> thas has been closed:
This exception is thrown when a calling C<receive> on a L<Channel|/type/Channel> that has been closed:
my $s = Channel.new;
$s.close;
Expand Down
2 changes: 1 addition & 1 deletion doc/Type/X/Channel/SendOnClosed.pod
Expand Up @@ -6,7 +6,7 @@
class X::Channel::SendOnClosed { ... }
This exception is thrown when a calling C<send> on a L<Channel|/type/Channel> thas has been closed:
This exception is thrown when a calling C<send> on a L<Channel|/type/Channel> that has been closed:
my $s = Channel.new;
$s.close;
Expand Down
2 changes: 1 addition & 1 deletion util/new-type.p6
Expand Up @@ -40,7 +40,7 @@ sub MAIN($typename, :$kind='class') {
TEMPLATE

say "'$path' written";
say "(remeber to 'git add $path')";
say "(remember to 'git add $path')";
}

# vim: expandtab shiftwidth=4 ft=perl6
2 changes: 1 addition & 1 deletion util/update-and-sync
Expand Up @@ -25,7 +25,7 @@ else
# under version control there, and because of html/build-log/
find html/ -name '*.html' -delete

# if the htmilfy fails, sync the build log.
# if the htmlify fails, sync the build log.
# since sync-build-log returns false, not the whole thing is synced
time ./htmlify.p6 || ./util/sync-build-log
./util/sync
Expand Down

0 comments on commit 7196c85

Please sign in to comment.