Type Conventions
Arguments to function and input values to operators are all dynamically typed, yet certain functions expect certain data types or classes of data types. To this end, the function and operator prototypes include a number of type classes as follows:
- any - any Zed data type
- float - any floating point Zed type
- int - any signd or ungigned Zed integer type
- number - either float or int
Note that there is no "any" type in Zed as all super-structured data is comprehensively typed; "any" here simply refers to a value that is allowed to take on any Zed type.