Operator (computer programming): Difference between revisions

Content deleted Content added
m convert special characters (via WP:JWB)
m standardize escaping
Tag: nowiki added
Line 101:
|-
| [[APL (programming language)|APL]]
| {{mono|1=+ - × ÷ ⌈ ⌊ * ⍟ {{pipe}}<nowiki>|</nowiki> ! ○ ~ ∨ ∧ ⍱ ⍲ &lt; ≤ = ≥ > ≠ . @ ≡ ≢ ⍴ , ⍪ ⍳ ↑ ↓ ? ⍒ ⍋ ⍉ ⌽ ⊖ ∊ ⊥ ⊤ ⍎ ⍕ ⌹ ⊂ ⊃ ∪ ∩ ⍷ ⌷ ∘ → ← / ⌿ \ ⍀ ¨ ⍣ & ⍨ ⌶ ⊆ ⊣ ⊢ ⍠ ⍤ ⌸ ⌺ ⍸}}
| bgcolor="yellow" | Alphanumeric symbols need a ⎕ before the keyword
| {{Yes}} <small>(first-order functions only)</small>
Line 172:
|-
| [[Haskell (programming language)|Haskell]]
| {{mono|1=+ - * / ^ ^^ ** == /= > < >= <= && {{!}}{{!}}<nowiki>||</nowiki> >>= >> $ $! . ++ !! :}} <small>Many more in common libraries</small>
| bgcolor="yellow" | The function's name must be put into backticks
| {{Yes}}
Line 195:
|-
| [[Perl]]
| {{mono|1=-> ++ -- ** ! ~ \ + - . =~ !~ * / % < > <= >= == != <=> ~~ & {{pipe}} <nowiki>|</nowiki> ^ &amp;&amp; {{pipe}}{{pipe}}<nowiki>||</nowiki> ' ''{{Not a typo| // .. ... ?: = += -= *= , =>}} }}
| {{mono|1=print sort chmod chdir rand and or not xor lt gt le ge eq ne cmp x }}
| {{Yes}}
Line 207:
|-
| [[Raku (programming language)|Raku]]
| {{mono|1=++ -- ** ! ~ ~~ * / + - . < > <= >= == != <=> & {{pipe}}<nowiki>|</nowiki> ^ &amp;&amp; {{pipe}}{{pipe}}<nowiki>||</nowiki> //}} <ref>{{Cite web|url=https://docs.perl6.org/language/operators|title=Operators|website=docs.perl6.org}}</ref>
| {{mono|1=print sort chmod chdir rand and or not xor lt gt le ge eq ne leg cmp x xx}}
| {{Yes}}
Line 292:
| [[Visual Basic .NET]]
| rowspan="2" | {{mono|1=() . ! ?() ?. ?! + - * / \ & << >> < <= > >= ^ <> = += -= *= /= \= &= ^= <<= >>=}}
| {{mono|1=New Await Mod Like Is IsNot Not And AndAlso Or OrElse Xor If(...,...) If(...,...,...) GetXmlNamespace(...) GetType(...) NameOf(...) TypeOf...Is TypeOf...IsNot DirectCast(...,...) TryCast(...,...) CType(...,...) CBool(...) CByte(...) CChar(...) CDate(...) CDec(...) CDbl(...) CInt(...) CLng(...) CObj(...) CSByte(...) CShort(...) CSng(...) CStr(...) CUInt(...) CULng(...) CUShort(...)}} <br /> '''[[Language Integrated Query|LINQ]]:''' {{mono|1=From Aggregate...Into Select Distinct Where {{nowrap|<Order By>...[Ascending{{pipe}}<nowiki>|</nowiki>Descending]}} Take {{nowrap|<Take While>}} Skip {{nowrap|<Skip While>}} Let Group...By...Into Join...On <Group Join...On...Into>}}
| {{Yes}}
| {{Yes}}