|
Perl 6
WITCH rpointy: Revision 12
^ Mnemonics
"_arrow_", "_greater_", sideways "_V_" for "_values_" ---- ^ Used alone * {{>}} as an infix operator performs a "comparison"<http://perlcabal.org/syn/S03.html#Chained_comparisons> ^ Used as a brace pair or quote pair * See {{<}} "left pointy"[WITCH lpointy] ^ Operators containing this character * {{>=}} is also a "comparison"<http://perlcabal.org/syn/S03.html#Chained_comparisons>. Note this means there is no assignment mutation. * {{~>}} {{+>}} and {{?>}} right "bitwise shifts"<http://perlcabal.org/syn/S03.html#Changes_to_Perl_5_operators> * {{=>}} "fat arrow" pair constructor * {{p5=>}} the "perl5 compatibility fat arrow"<http://perlcabal.org/syn/S03.html#Comma_operator_precedence> * {{=>}} or {{=>>}} a "feed operator"<http://perlcabal.org/syn/S03.html#Feed_operators> * {{->}} introduces a "pointy block"<http://perlcabal.org/syn/S04.html#The_Relationship_of_Blocks_and_Declarations> * {{-}} {{->}} used to specify return type in a "Signature"<http://perlcabal.org/syn/S02.html#Value_types> ^ Used inside a regexe * )> the "end of a result"<http://perlcabal.org/syn/S05.html#Extensible_metasyntax_%28%3C...%3E%29> ^ Other uses * {{>>}} can be used as a "Texas Quote", a substitute for ยป in environments where unicode source code is undesireable ^ Old, deprecated, or other language uses * {{>>}} is bitwise shift in many languages including perl5. That is now +>, ~>, or ?> * {{->}} is no longer the method operator as in perl5. That is now . like most other languages. * {{=>}} behaves differently in perl6 compared to perl5. |