Skip to content

Commit 4a1e532

Browse files
committed
Document «tight» in the glossary
Closes #2005, and maybe helps a little bit #1730. Also learn new words (from previous additions)
1 parent 37acf75 commit 4a1e532

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

doc/Language/glossary.pod6

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ object and also refers to the object itself.
613613
X<|LHS>
614614
=head1 LHS
615615
616-
As an acronym left-hand side, it usually refers to the left hand side of an expression, and more specifically to the left-hand side of expresions such as C<$lhs = "this would be the right-hand side">. Since the left hand side of these expressions modify their value, when something behaves as a LHS it means that it can be read and written to.
616+
As an acronym left-hand side, it usually refers to the left hand side of an expression, and more specifically to the left-hand side of expressions such as C<$lhs = "this would be the right-hand side">. Since the left hand side of these expressions modify their value, when something behaves as a LHS it means that it can be read and written to.
617617
618618
=head1 lvalue
619619
X<|Value>
@@ -1091,6 +1091,12 @@ X<|Thunk>
10911091
10921092
A piece of code that isn't immediately executed, but doesn't have an independent scope.
10931093
1094+
X<|Loose>
1095+
X<|Tight>
1096+
=head1 Tight and loose precedence
1097+
1098+
In this context, tight or tighter refers to L<precedence rules|https://docs.perl6.org/language/functions#index-entry-is_tighter> and is the opposite of C<looser>. Precedence rules for new terms are always expressed in relationship with other terms, so C<is tighter> implies that operands with that operator will be grouped before operands with the looser operator. Operators with L<tight precedence|https://docs.perl6.org/language/operators#Tight_AND_Precedence> are grouped with priority to others and are generally tighter than most others; loose L<exactly the opposite|https://docs.perl6.org/language/traps#Loose_boolean_operators>, so it is always convenient to be aware of the exact precedence of all operators used in an expression.
1099+
10941100
=head1 twine
10951101
X<|twine>
10961102
@@ -1122,7 +1128,7 @@ A L<type object|https://docs.perl6.org/language/classtut#index-entry-type_object
11221128
=head1 value
11231129
X<|value>
11241130
1125-
A value is what is actually contained in a container such as a variable. Used in expresions such as L<lvalue>, to indicate that that particular container can be assigned to.
1131+
A value is what is actually contained in a container such as a variable. Used in expressions such as L<lvalue>, to indicate that that particular container can be assigned to.
11261132
11271133
=head1 Value type
11281134
X<|Value type>

xt/words.pws

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,3 +1359,8 @@ yyyy
13591359
zef
13601360
zoffixznet
13611361
zwj
1362+
Worthington
1363+
rhs
1364+
lhs
1365+
RHS
1366+
LHS

0 commit comments

Comments
 (0)