- Swift Functional Programming(Second Edition)
- Dr. Fatih Nayebi
- 127字
- 2021-07-02 23:54:33
Allowed operators
The Swift standard library provides a number of operators that can be used to define custom operators. Custom operators can begin with one of the ASCII characters -/, =, -, +, !, *, %, <, >, &, |, ^, ?, ~, or one of the Unicode characters. After the first character, combining Unicode characters is allowed.
We can also define custom operators that begin with a dot. If an operator does not start with a dot, it cannot contain a dot elsewhere. Although we can define custom operators that contain a question mark (?), they cannot consist of a single question mark character only. Additionally, although operators can contain an exclamation point (!), postfix operators cannot begin with either a question mark or an exclamation point.
推薦閱讀
- 數據產品經理高效學習手冊:產品設計、技術常識與機器學習
- 大數據技術基礎
- 數據分析實戰:基于EXCEL和SPSS系列工具的實踐
- Effective Amazon Machine Learning
- MySQL從入門到精通(第3版)
- Mastering Machine Learning with R(Second Edition)
- Spark大數據編程實用教程
- Apache Kylin權威指南
- SQL應用及誤區分析
- Augmented Reality using Appcelerator Titanium Starter
- Mastering ROS for Robotics Programming(Second Edition)
- R Machine Learning Essentials
- 算力經濟:從超級計算到云計算
- Delphi High Performance
- 量化投資:交易模型開發與數據挖掘