Skip to content

Commit 36251c6

Browse files
authored
List Texas atomics
- Create a separate table (following format of the first one with all the ops got kinda messy) P.S.: Some of the subs appear to be undocumented P.P.S: the docs for Texas/Unicode versions are duplicated; Wouldn't be easier to just list both variants with one description? P.P.S.: Shouldn't βš›+= and βš›-= be called atomic-add-assign and atomic-sub-assign instead of atomic-add-fetch and atomic-sub-fetch, since βš›= is atomic-assign, not atomic-fetch, which is just prefix:<βš›>
1 parent 0eb07d3 commit 36251c6

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

β€Ždoc/Language/unicode_texas.pod6

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,25 @@ equivalents] that have a special meaning in PerlΒ 6.
110110
βŠ– | U+2296 | (^) |
111111
⊍ | U+228D | (.) |
112112
⊎ | U+228E | (+) |
113+
⊎ | U+228E | (+) |
114+
115+
=head2 Atomic Operators
113116
117+
The atomic operators have C<U+269B βš› ATOM SYMBOL> incorporated into them. Their
118+
Texas equivalents are subroutines, which are as follows:
119+
120+
=table
121+
Symbol | Texas | Remarks
122+
=======|==================|=========================
123+
βš›= | atomic-assign |
124+
βš› | atomic-fetch | this is the prefix:<βš›> operator
125+
βš›+= | atomic-add-fetch |
126+
βš›-= | atomic-sub-fetch |
127+
++βš› | atomic-inc-fetch |
128+
βš›++ | atomic-fetch-dec |
129+
--βš› | atomic-dec-fetch |
130+
βš›-- | atomic-fetch-dec |
131+
114132
=head1 Multiple codepoints
115133
116134
This list contains multiple-codepoint operators that require special

0 commit comments

Comments
Β (0)