Skip to content

Commit e610ddb

Browse files
authored
Clarify Texas atomics are just subs
1 parent 489cc2d commit e610ddb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

doc/Language/unicode_texas.pod6

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,13 @@ equivalents] that have a special meaning in Perl 6.
114114
=head2 Atomic Operators
115115
116116
The atomic operators have C<U+269B ⚛ ATOM SYMBOL> incorporated into them. Their
117-
Texas equivalents are subroutines, which are as follows:
117+
Texas equivalents are ordinary subroutines, not operators:
118+
119+
my atomicint $x = 42;
120+
$x⚛++; # Unicode version
121+
atomic-fetch-inc($x); # Texas version
122+
123+
The Texas alternatives are as follows:
118124
119125
=table
120126
Symbol | Texas | Remarks

0 commit comments

Comments
 (0)