Skip to content

Commit e45f031

Browse files
committed
an β†’ a, an β†’ and (#2604)
1 parent 675330d commit e45f031

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

β€Ždoc/Language/regexes.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2121,7 +2121,7 @@ say $string ~~ / (SQL) (.+) $1 /; # OUTPUT: Nil
21212121
=end code
21222122
21232123
Since there is no specification for a character before the word I<SQL>,
2124-
the engine will match against the rightmost word I<SQL> an go forward
2124+
the engine will match against the rightmost word I<SQL> and go forward
21252125
from there. Since there is no repetition of I<SQL> remaining, the
21262126
match fails.
21272127
It is possible, again, to inspect what the engine performs

β€Ždoc/Language/subscripts.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ say @string.Str; # OUTPUT: «((A C G) (T C G))␀»
944944
This code takes into account the value of C<$initialize>, which is set to
945945
C<True> only if we are assigning a value to a variable declared using the C<is>
946946
syntax for the first time. The C<STORE> method should set the C<self> variable
947-
an return it in all cases, including when the variable has already been
947+
and return it in all cases, including when the variable has already been
948948
initialized.
949949
950950
=head2 Methods to implement for associative subscripting

β€Ždoc/Language/temporal.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ X<|Date and time functions>
88
99
PerlΒ 6 includes several classes that deal with temporal information: L<Date|/type/Date>, L<DateTime|/type/DateTime>, L<Instant|/type/Instant> and L<Duration|/type/Duration>. The three first are I<dateish>, so they mix in the L<Dateish|/type/Dateish> role, which defines all methods and properties that classes that deal with date should assume. It also includes a class hierarchy of exceptions rooted in L<X::Temporal>.
1010
11-
We will try to illustrate these classes in the next (somewhat extended) example, which can be used to process all files in a directory (by default C<.>) with a particular extension (by default C<.p6>) in an directory, sort them according to their age, and compute how many files have been created per month and how many were modified in certain periods expressed in ranges of months:
11+
We will try to illustrate these classes in the next (somewhat extended) example, which can be used to process all files in a directory (by default C<.>) with a particular extension (by default C<.p6>) in a directory, sort them according to their age, and compute how many files have been created per month and how many were modified in certain periods expressed in ranges of months:
1212
1313
=begin code
1414
sub MAIN( $path = ".", $extension = "p6" ) {

β€Ždoc/Language/traits.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ they refer to: C<rw>, C<nativesize>, C<ctype>, C<unsigned>, C<hidden>,
3737
C<array_type>.
3838
3939
The X<Uninstantiable representation trait> is not so much related to the
40-
representation as related to what can be done with an specific class; it
40+
representation as related to what can be done with a specific class; it
4141
effectively prevents the creation of instances of the class in any
4242
possible way.
4343

β€Ždoc/Type/IO/ArgFiles.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ sub MAIN () {
7878
and, in fact, can't be used to process the arguments in the command line, since,
7979
in this case, it would result in an usage error.
8080
81-
Bear in mind that C<$*ARGFILES> is going to contain an handle for every argument
81+
Bear in mind that C<$*ARGFILES> is going to contain a handle for every argument
8282
in a command line, even if that argument is not a valid file.
8383
8484
=for code

β€Ždoc/Type/Metamodel/EnumHOW.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Returns the number of values.
5959
6060
method enum_from_value(Metamodel::ClassHOW:D: $obj, $value)
6161
62-
Given an value, return the corresponding enum.
62+
Given a value, return the corresponding enum.
6363
6464
enum numbers <10 20>;
6565
say numbers.^enum_from_value(0) # OUTPUT: 10

β€Ždoc/Type/X/Syntax/Regex/SolitaryQuantifier.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
class X::Syntax::Regex::SolitaryQuantifier does X::Syntax { }
88
9-
Syntax error when a stand alone quantifier (without an preceding atom
9+
Syntax error when a stand alone quantifier (without a preceding atom
1010
to quantify) is encountered in a regular expression.
1111
1212
For example

0 commit comments

Comments
Β (0)