- Perl 6 Deep Dive
- Andrew Shitov
- 125字
- 2021-07-03 00:05:55
Working with Operators
Operators are the elements of the syntax of the language which perform actions over their operands and return a result. Perl 6 is a language with dozens of operators. Some of them are inherited from Perl 5 (directly or with modifications), some were invented especially for Perl 6. On top of the set of regular operators, Perl 6 defines the so-called meta-operators and hyper-operators, which extend the meaning of regular operators for working on a group of values.
In this chapter, we will cover the following topics:
- Operator classification
- Unary operators
- Binary operators
- Ternary operator
- Bitwise operators
- Miscellaneous operators
- Operator precedence
- Substitution meta-operators
- Assignment meta-operators
- Negation meta-operators
- Reversed meta-operators
- Creating hyper-operators
- Types of hyper-operations
- Reduction hyper-operators
- Cross hyper-operators
- Zip hyper-operator
- Sequential hyper-operators
推薦閱讀
- Python編程自學手冊
- Google Apps Script for Beginners
- Java程序設計與開發
- PyTorch自然語言處理入門與實戰
- Java編程指南:基礎知識、類庫應用及案例設計
- Java程序員面試算法寶典
- UI智能化與前端智能化:工程技術、實現方法與編程思想
- Java性能權威指南(第2版)
- 小程序開發原理與實戰
- Spring Boot企業級項目開發實戰
- Arduino家居安全系統構建實戰
- Yii Project Blueprints
- App Inventor創意趣味編程進階
- Data Science Algorithms in a Week
- Instant Apache Camel Messaging System