4,493
edits
Line 13: | Line 13: | ||
==Comparison of implementations== | ==Comparison of implementations== | ||
{| class=wikitable | {| class=wikitable style=text-align:center | ||
! APL name !! Glyph !! Codepoint !! Unicode name !! [[APL2]] !! [[Dyalog APL]] !! [[GNU APL]] !! [[NARS2000]] !! [[ngn/apl]] !! [[dzaima/APL]] !! Monadic || Dyadic | ! APL name !! Glyph !! Codepoint !! Unicode name !! [[APL2]] !! [[Dyalog APL]] !! [[GNU APL]] !! [[NARS2000]] !! [[ngn/apl]] !! [[dzaima/APL]] !! Monadic || Dyadic | ||
|- | |- | ||
! rowspan=2 | Epsilon | ! rowspan=2 | Epsilon | ||
| <source lang=apl inline>∈</source><ref>Found by Hanspeter Moser in [https://www.gnu.org/software/apl/Bits_and_Pieces/toronto-toolkit.apl.html The Toronto Toolkit]</ref> || U+2208 || Element of || {{No}} || {{No}} || {{Yes}} || {{Yes}} || {{No}} || {{No}} || rowspan=2 | [[Enlist]]/[[Type]] || rowspan=2 | [[Membership]] | |||
|- | |- | ||
| <source lang=apl inline>∊</source> || U+220A || Small Element of || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} | |||
|- | |- | ||
! rowspan=2 | Minus | ! rowspan=2 | Minus | ||
| <source lang=apl inline>-</source> || U+002D || Hyphen-minus || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || rowspan=2 | [[Negate]] || rowspan=2 | [[Minus]] | |||
|- | |- | ||
| <source lang=apl inline>−</source> || U+2212 || Minus sign || {{No}} || {{No}} || {{Yes}} || {{Yes}} || {{Yes}} || {{No}} | |||
|- | |- | ||
! | ! rowspan=2 | Stile | ||
| <source lang=apl inline>|</source> || U+007C || Vertical line || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || rowspan=2 | [[Magnitude]] || rowspan=2 | [[Residue]] | |||
|- | |||
| <source lang=apl inline>∣</source> || U+2212 || Divides || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{No}} | |||
|- | |||
! rowspan=2 | Quad | |||
| <source lang=apl inline>⎕</source> || U+2395 || APL functional symbol Quad || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || rowspan=2 colspan=2 | [[Quad name]] | |||
|- | |||
| <source lang=apl inline>▯</source> || U+26AA || White vertical rectangle || {{Yes}} || {{No}} || {{Yes}} || {{Yes}} || {{No}} || {{No}} | |||
|- | |||
! rowspan=2 | Alpha | |||
| <source lang=apl inline>α</source> || U+03B1 || Greek small letter Alpha || rowspan=2 | || {{No}} || {{Yes}} || {{Yes}} || {{No}} || {{No}} || rowspan=2 colspan=2 | [[Left Argument]] | |||
|- | |||
| <source lang=apl inline>⍺</source> || U+237A || APL functional symbol Alpha || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} | |||
|- | |||
! rowspan=2 | Omega | |||
| <source lang=apl inline>ω</source> || U+03C9 || Greek small letter Omega || rowspan=2 | || {{No}} || {{Yes}} || {{Yes}} || {{No}} || {{No}} || rowspan=2 colspan=2 | [[Right Argument]] | |||
|- | |||
| <source lang=apl inline>⍵</source> || U+237A || APL functional symbol Omega || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} | |||
|- | |||
! rowspan=2 | Star | |||
| <source lang=apl inline>*</source> || U+002A || Asterisk || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || rowspan=2 | [[Exponential]] || rowspan=2 | [[Power|Power]] | |||
|- | |||
| <source lang=apl inline>⋆</source> || U+26AA ||Star operator || {{No}} || {{No}} || {{Yes}} || {{Yes}} || {{Yes}} || {{No}} | |||
|- | |||
! rowspan=2 | Tilde | |||
| <source lang=apl inline>~</source> || U+007E || Tilde || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || rowspan=2 | [[Not]] || rowspan=2 | [[Without]] | |||
|- | |||
| <source lang=apl inline>∼</source> || U+223C || Tilde operator || {{No}} || {{No}} || {{Yes}} || {{Yes}} || {{No}} || {{No}} | |||
|- | |||
! rowspan=2 | Logical Nor | |||
| <source lang=apl inline>⊽</source> || U+22BD || Nor || {{No}} || {{No}} || {{Yes}} || {{Yes}} || {{No}} || {{No}} || rowspan=2 | || rowspan=2 | [[Nor]] | |||
|- | |||
| <source lang=apl inline>⍱</source> || U+2371 || APL functional symbol down caret tilde || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} | |||
|- | |||
! rowspan=2 | Logical And | |||
| <source lang=apl inline>^</source> || U+005E || Circumflex accent || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{No}} || rowspan=2 | || rowspan=2 | [[And]] | |||
|- | |||
| <source lang=apl inline>∧</source> || U+22BD || Logical And || {{No}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} | |||
|- | |||
! rowspan=2 | Logical Nand | |||
| <source lang=apl inline>⊼</source> || U+22BC || Nand || {{No}} || {{No}} || {{Yes}} || {{Yes}} || {{No}} || {{No}} || rowspan=2 | || rowspan=2 | [[Nand]] | |||
|- | |||
| <source lang=apl inline>⍱</source> || U+2372 || APL functional symbol up caret tilde || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} | |||
|- | |||
! rowspan=2 | Less than or<br>equal to | |||
| <source lang=apl inline>≤</source> || U+2264 || Less-than or<br>equal to || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || rowspan=2 | || rowspan=2 | [[Less than or equal to]] | |||
|- | |||
| <source lang=apl inline>⩽</source> || U+2A7D || Less than or<br>slanted equal to || {{No}} || {{No}} || {{Yes}} || {{Yes}} || {{No}} || {{No}} | |||
|- | |||
! rowspan=2 | Greater than or<br>equal to | |||
| <source lang=apl inline>≥</source> || U+2265 || Greater than or<br>equal to || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || rowspan=2 | || rowspan=2 | [[Greater than<br>or equal to]] | |||
|- | |||
| <source lang=apl inline>⩾</source> || U+2A7E || Greater than or<br>slanted equal to || {{No}} || {{No}} || {{Yes}} || {{Yes}} || {{No}} || {{No}} | |||
|- | |||
! rowspan=2 | Jot | |||
| <source lang=apl inline>∘</source> || U+2218 || Ring operator || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || rowspan=2 | [[Outer product]] || rowspan=2 | [[Beside]]/[[Beside]] | |||
|- | |||
| <source lang=apl inline>◦</source> || U+25E6 || White bullet || {{No}} || {{No}} || {{Yes}} || {{Yes}} || {{No}} || {{No}} | |||
|- | |- | ||
! rowspan=2 | Circle | ! rowspan=2 | Circle | ||
| <source lang=apl inline>○</source> || U+25CB || White circle || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || rowspan=2 | [[Pi Times]] || rowspan=2 | [[Circle function|Circular]] | |||
|- | |- | ||
| <source lang=apl inline>⚪</source> || U+26AA || Medium white circle || {{No}} || {{No}} || {{Yes}} || {{Yes}} || {{No}} || {{No}} | |||
|- | |- | ||
! rowspan=4 | Diamond | ! rowspan=4 | Diamond | ||
| <source lang=apl inline>⋄</source> || U+22C4 || Diamond operator || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || rowspan=4 colspan=2 | [[Statement Separator]] | |||
|- | |- | ||
| <source lang=apl inline>◇</source> || U+25C7 || White Diamond || {{No}} || {{No}} || {{No}} || {{Yes}} || {{No}} || {{No}} | |||
|- | |- | ||
| <source lang=apl inline>◊</source> || U+25CA || Lozenge || {{No}} || {{No}} || {{Yes}} || {{Yes}} || {{No}} || {{No}} | |||
|- | |- | ||
| <source lang=apl inline>⬦</source> || U+2B26 || Diamond || {{No}} || {{No}} || {{Yes}} || {{Yes}} || {{No}} || {{No}} | |||
|} | |} | ||
These characters are included here because they have been encountered them in APL code displayed somewhere on the Internet or in a PDF file. Thus blindly copying them into an APL [[session]] can produce an error which might well confuse the user. | These characters are included here because they have been encountered them in APL code displayed somewhere on the Internet or in a PDF file. Thus blindly copying them into an APL [[session]] can produce an error which might well confuse the user. |