From cddc09f7990b7f736b47eb16fd3ce0fea661ef5f Mon Sep 17 00:00:00 2001 From: Stoned Elipot Date: Mon, 1 Nov 2021 21:08:16 +0100 Subject: [PATCH] Document U+2A75 and U+2A76 operator aliases ref #3922 --- doc/Language/operators.pod6 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/Language/operators.pod6 b/doc/Language/operators.pod6 index ed243eee2..5e5a7c373 100644 --- a/doc/Language/operators.pod6 +++ b/doc/Language/operators.pod6 @@ -58,7 +58,7 @@ assigned to that level (column labeled C), and some exemplary operators X | Junctive or | \| ^ (\|) (^) (\+) (-) ∪ ⊖ ⊎ ∖ L | Named unary | temp let N | Structural infix | but does <=> leg unicmp cmp coll .. ..^ ^.. ^..^ - C | Chaining infix | != ≠ == < <= ≤ > >= ≥ eq ne lt le gt ge ~~ === eqv !eqv =~= ≅ (elem) (cont) (<) (>) (<=) (>=) (<\+) (>\+) (==) ∈ ∊ ∉ ∋ ∍ ∌ ≡ ≢ ⊂ ⊄ ⊃ ⊅ ⊆ ⊈ ⊇ ⊉ ≼ ≽ + C | Chaining infix | != ≠ == ⩵ < <= ≤ > >= ≥ eq ne lt le gt ge ~~ === ⩶ eqv !eqv =~= ≅ (elem) (cont) (<) (>) (<=) (>=) (<\+) (>\+) (==) ∈ ∊ ∉ ∋ ∍ ∌ ≡ ≢ ⊂ ⊄ ⊃ ⊅ ⊆ ⊈ ⊇ ⊉ ≼ ≽ X | Tight and | && X | Tight or | \|\| ^^ // min max R | Conditional | ?? !! ff ff^ ^ff ^ff^ fff fff^ ^fff ^fff^ @@ -2046,7 +2046,7 @@ Constructs a L from the arguments, excluding both start and e =head1 Chaining binary precedence -=head2 infix C«==» +=head2 infix C«==», infix C«⩵» multi sub infix:<==>(Any, Any) multi sub infix:<==>(Int:D, Int:D) @@ -2061,6 +2061,8 @@ X. Coerces both arguments to L (if necessary); returns C if they are equal. +Since Rakudo version 2021.07, ⩵ is an alias for this operator. + =head2 infix C«!=», infix C«≠» sub infix:(Mu, Mu --> Bool:D) @@ -2296,7 +2298,7 @@ say infix:(33); # OUTPUT: «True␤» say infix:(False); # OUTPUT: «True␤» -=head2 infix C«===» +=head2 infix C«===», infix C«⩶» sub infix:<===>(Any, Any) @@ -2327,6 +2329,8 @@ class must create an instance method C, that should return a L object that won't change for the lifetime of the object. +Since Rakudo version 2021.07, ⩶ is an alias for this operator. + =head2 infix C«=:=» multi sub infix:<=:=>(Mu \a, Mu \b)