Skip to content

Commit ce25ff4

Browse files
committed
Typo/spelling fixes, a few small wording changes.
1 parent e90e09d commit ce25ff4

30 files changed

+78
-78
lines changed

lib/Any.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
class Any is Mu { ... }
66
7-
While C<Mu> is the root of the Perl 6 class hirarchy, C<Any> is the class
7+
While C<Mu> is the root of the Perl 6 class hierarchy, C<Any> is the class
88
that serves as a default base class for new classes, and as the base class for
99
most built-in classes.
1010
@@ -14,7 +14,7 @@ most built-in classes.
1414
1515
multi method ACCEPTS(Any:D: Mu $other)
1616
17-
Returns C<True> if C<$other === self> (ie it checks object identity).
17+
Returns C<True> if C<$other === self> (i.e. it checks object identity).
1818
1919
=head2 any
2020

lib/Buf.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Applies an encoding to turn the buffer into a C<Str>.
4141
4242
method subbuf(Int $from, Int $len = self.elems) returns Buf:D
4343
44-
Extracts a part of the invocant buffer, statrting from the index with
44+
Extracts a part of the invocant buffer, starting from the index with
4545
elements C<$from>, and taking C<$len> elements (or less if the buffer is
4646
shorter), and creates a new buffer as the result.
4747

lib/Complex.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ Returns true if the real or imaginary part is C<NaN> (not a number).
4545
method polar(Complex:D:) returns Positional:D
4646
4747
Returns a two-element list of the polar coordinates for this value,
48-
ie magnitude and angle in radians.
48+
i.e. magnitude and angle in radians.
4949
5050
=end pod

lib/Cool.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
C<Cool>, also known as the B<C>onvenient B<OO> B<L>oop, is a base class
88
for strings, numbers and other built-in classes that you are supposed to use
9-
mostly interchangably.
9+
mostly interchangeably.
1010
1111
Methods in C<Cool> coerce the invocant to a more
1212
specific type, and then call the same method on that type. For example both

lib/Cursor.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
class Cursor { }
66
7-
A C<Cursor> object is used interally by the regex engine in regex matches
7+
A C<Cursor> object is used internally by the regex engine in regex matches
88
to keep track of the current position, backtracking waypoints and information
99
about capturing groups.
1010

lib/Date.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ an object the current day according to the system clock.
3636
multi method new(Str $date) returns Date:D
3737
multi method new(DateTime:D $dt) returns Date:D
3838
39-
Creates a new C<Date> object, either from a tripple of (year, month, day)
39+
Creates a new C<Date> object, either from a triple of (year, month, day)
4040
integers, or from a string of the form C<YYYY-MM-DD>
4141
(L<ISO 8601|http://en.wikipedia.org/wiki/ISO_8601>), or from a DateTime
4242
object.

lib/Duration.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ C<Duration>s can be subtracted from or added to C<Instant>s to yield another,
1313
new C<Instant>. Subtracting one C<Instant> from another yields a C<Duration>.
1414
A C<Duration> can also result from mathematical operations between
1515
two C<Duration>s when it makes sense (namely, the addition, subtraction, or
16-
modulous of two C<Duration>s). The type of object returned for other numeric
16+
modulus of two C<Duration>s). The type of object returned for other numeric
1717
operations is currently unspecified.
1818
1919
=end pod

lib/Grammar.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ variable to the result Match object.
2323
2424
method parsefile(Grammar:D: $filename, :$rule = 'TOP', :$actions) returns Match:D
2525
26-
Matches the grammar against the contents of file C<$fielname>,
26+
Matches the grammar against the contents of file C<$filename>,
2727
using C<$rule> as start rule,
2828
optionally applying C<$actions> as actions object.
2929

lib/Hash.pod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Assigning a list of elements to a hash variable first empties the variable,
2929
and then iterates the elements of the right-hand side. If an element is an
3030
L<Enum> (or a subclass like L<Pair>), its key is taken as a new hash key,
3131
and its value as the new hash value for that key. Otherwise the value
32-
is coereced to L<Str> and used as a hash key, while the next element of the
32+
is coerced to L<Str> and used as a hash key, while the next element of the
3333
list is taken as the corresponding value.
3434
3535
my %h = 'a', 'b', c => 'd', 'e', 'f';
@@ -46,7 +46,7 @@ hash value:
4646
say %h<a>.key; # b
4747
4848
If the same key appears more than once, the value associated with its last
49-
occurence is stored in the hash:
49+
occurrence is stored in the hash:
5050
5151
my %h = a => 1, a => 2;
5252
say %h<a>; # 2
@@ -60,7 +60,7 @@ occurence is stored in the hash:
6060
Adds the C<@new> elements to the hash with the same semantics as hash
6161
assignment, but with three exceptions:
6262
63-
=item the hash isn't emptied first, ie old pairs are not deleted.
63+
=item the hash isn't emptied first, i.e. old pairs are not deleted.
6464
6565
=item if a key already exists in the hash, and the corresponding value is an
6666
L<Array>, the new value is pushed onto the array (instead of replacing it).

lib/Int.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Returns the given C<Int> raised to the C<$y> power within modulus C<$mod>.
4848
multi method is-prime (Int:D: Int $tries = 100) returns Bool:D
4949
5050
Returns C<True> if this C<Int> is known to be a prime, or is likely to be a
51-
prime based on a probabalistic Miller-Rabin test. C<$tries> is the maximal
51+
prime based on a probabilistic Miller-Rabin test. C<$tries> is the maximal
5252
number of iterations the test is allowed to do.
5353
5454
Returns C<False> if this C<Int> is known not to be a prime.

0 commit comments

Comments
 (0)