Skip to content

Commit 4fd0ef0

Browse files
committed
Correct typographical etc. issues in terms.pod
1 parent 7cc2fcf commit 4fd0ef0

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

lib/Language/terms.pod

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Here you can find an overview of different kinds of terms.
1717
12_300_00
1818
:16<DEAD_BEEF>
1919
20-
L<Int> literals consist of digits, and can contain underscores
20+
L<Int> literals consist of digits and can contain underscores
2121
between any two digits.
2222
2323
To specify a base other than ten, use the colonpair form C<< :radix<number> >>.
@@ -27,7 +27,7 @@ To specify a base other than ten, use the colonpair form C<< :radix<number> >>.
2727
12.34
2828
1_200.345_678
2929
30-
L<Rat> (rational numbers) literals contain two integer parts joined by a dot.
30+
L<Rat> literals (rational numbers) contain two integer parts joined by a dot.
3131
3232
Note that trailing dots are not allowed, so you have to write C<1.0> instead
3333
of C<1.> (this rule is important because there are infix operators starting
@@ -38,7 +38,7 @@ with a dot, for example the C<..> L<Range> operator).
3838
12.3e-32
3939
3e8
4040
41-
L<Num> (floating point numbers) literals consist of L<Rat> or L<Int> literals
41+
L<Num> literals (floating point numbers) consist of L<Rat> or L<Int> literals
4242
followed by an C<e> and a (possibly negative) exponent. C<3e8> constructs a
4343
L<Num> with value C<3 * 10**8>.
4444
@@ -50,7 +50,7 @@ L<Num> with value C<3 * 10**8>.
5050
"\"But I still can be,\" he said."
5151
q|Other delimters can be used too!|
5252
53-
String literals are most often created with C<'> or C<">, but strings
53+
String literals are most often created with C<'> or C<">, however strings
5454
are actually a powerful sub-language of Perl 6. See
5555
L<Quoting Constructs>.
5656
@@ -79,12 +79,12 @@ These forms produce regex literals. See L<Quoting Constructs>.
7979
8080
L<Pair> objects can be created either with C<< infix:«=>» >> (which
8181
auto-quotes the left-hand side if it is an identifier), or with the various
82-
colonpair forms. Those always start with a colon, and then are followed either
83-
by an identifier or the name of an already existing variable (whose name sans
84-
the sigil is used as the key, and value of the variable is used as the value
82+
colon-pair forms. Those always start with a colon and then are followed either
83+
by an identifier or the name of an already existing variable (whose name without
84+
the sigil is used as the key and value of the variable is used as the value
8585
of the pair).
8686
87-
In the identifier form a colonpair, the optional value can be any circumfix.
87+
In the identifier form of a colon-pair, the optional value can be any circumfix.
8888
If it is left blank, the value is C<Bool::True>. The value of the
8989
C<:!identifier> form is C<Bool::False>.
9090
@@ -100,7 +100,7 @@ the exception of C<< 'quoted string' => $value >>.
100100
qw/a b c/
101101
102102
L<Parcel> literals are: the empty pair of parens C<()>, a comma-separated
103-
list, or several quoting constructs
103+
list, or several quoting constructs.
104104
105105
=head2 term *
106106
@@ -109,12 +109,12 @@ Creates an object of type C<Whatever>. See L<Whatever> documentation for more de
109109
=head1 Identifier terms
110110
111111
There are built-in identifier terms in Perl 6, which are listed below.
112-
In addition one can add new identifier terms with the syntax
112+
In addition one can add new identifier terms with the syntax:
113113
114114
sub term:<fourty-two> { 42 };
115115
say fourty-two
116116
117-
or as constants
117+
or as constants:
118118
119119
constant forty-two = 42;
120120
say fourty-two
@@ -140,14 +140,14 @@ a circle.
140140
141141
=head2 term e
142142
143-
Returns Euler's number
143+
Returns Euler's number.
144144
145145
=head2 term i
146146
147147
Returns the imaginary unit (for L<Complex> numbers).
148148
149149
=head1 Variables
150150
151-
Variables are discussed in L<variable language docs |/language/variables>.
151+
Variables are discussed in the L<variable language docs |/language/variables>.
152152
153153
=end pod

0 commit comments

Comments
 (0)