Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
language:types2 [2025/04/21 15:53] – [Functions] rajit | language:types2 [2025/05/02 10:18] (current) – [Default parameters] rajit | ||
---|---|---|---|
Line 199: | Line 199: | ||
Note that ACT is very strict about type-checking; | Note that ACT is very strict about type-checking; | ||
+ | |||
+ | ==== Grouping parameters ==== | ||
+ | |||
+ | Parameters can be combined into [[language: | ||
+ | |||
===== Direction flags ===== | ===== Direction flags ===== | ||
Line 351: | Line 356: | ||
=== Operator overloading === | === Operator overloading === | ||
+ | |||
+ | Functions within pure structures are also used to support operator overloading. In particular, the following function methods are interpreted to be the definition of operator overloading for arithmetic operators: | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | An example of a fixed-point arithmetic datatype is provided in the [[https:// | ||
+ | In the linked example, '' | ||