Skip to content

Commit

Permalink
an → a, an → and (#2604)
Browse files Browse the repository at this point in the history
  • Loading branch information
cfa committed Feb 3, 2019
1 parent 675330d commit e45f031
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion doc/Language/regexes.pod6
Expand Up @@ -2121,7 +2121,7 @@ say $string ~~ / (SQL) (.+) $1 /; # OUTPUT: Nil
=end code
Since there is no specification for a character before the word I<SQL>,
the engine will match against the rightmost word I<SQL> an go forward
the engine will match against the rightmost word I<SQL> and go forward
from there. Since there is no repetition of I<SQL> remaining, the
match fails.
It is possible, again, to inspect what the engine performs
Expand Down
2 changes: 1 addition & 1 deletion doc/Language/subscripts.pod6
Expand Up @@ -944,7 +944,7 @@ say @string.Str; # OUTPUT: «((A C G) (T C G))␤»
This code takes into account the value of C<$initialize>, which is set to
C<True> only if we are assigning a value to a variable declared using the C<is>
syntax for the first time. The C<STORE> method should set the C<self> variable
an return it in all cases, including when the variable has already been
and return it in all cases, including when the variable has already been
initialized.
=head2 Methods to implement for associative subscripting
Expand Down
2 changes: 1 addition & 1 deletion doc/Language/temporal.pod6
Expand Up @@ -8,7 +8,7 @@ X<|Date and time functions>
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>.
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:
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:
=begin code
sub MAIN( $path = ".", $extension = "p6" ) {
Expand Down
2 changes: 1 addition & 1 deletion doc/Language/traits.pod6
Expand Up @@ -37,7 +37,7 @@ they refer to: C<rw>, C<nativesize>, C<ctype>, C<unsigned>, C<hidden>,
C<array_type>.
The X<Uninstantiable representation trait> is not so much related to the
representation as related to what can be done with an specific class; it
representation as related to what can be done with a specific class; it
effectively prevents the creation of instances of the class in any
possible way.
Expand Down
2 changes: 1 addition & 1 deletion doc/Type/IO/ArgFiles.pod6
Expand Up @@ -78,7 +78,7 @@ sub MAIN () {
and, in fact, can't be used to process the arguments in the command line, since,
in this case, it would result in an usage error.
Bear in mind that C<$*ARGFILES> is going to contain an handle for every argument
Bear in mind that C<$*ARGFILES> is going to contain a handle for every argument
in a command line, even if that argument is not a valid file.
=for code
Expand Down
2 changes: 1 addition & 1 deletion doc/Type/Metamodel/EnumHOW.pod6
Expand Up @@ -59,7 +59,7 @@ Returns the number of values.
method enum_from_value(Metamodel::ClassHOW:D: $obj, $value)
Given an value, return the corresponding enum.
Given a value, return the corresponding enum.
enum numbers <10 20>;
say numbers.^enum_from_value(0) # OUTPUT: 10
Expand Down
2 changes: 1 addition & 1 deletion doc/Type/X/Syntax/Regex/SolitaryQuantifier.pod6
Expand Up @@ -6,7 +6,7 @@
class X::Syntax::Regex::SolitaryQuantifier does X::Syntax { }
Syntax error when a stand alone quantifier (without an preceding atom
Syntax error when a stand alone quantifier (without a preceding atom
to quantify) is encountered in a regular expression.
For example
Expand Down

0 comments on commit e45f031

Please sign in to comment.