Type Compatibility A Note on Soundness Starting out Comparing two functions Function Parameter Bivariance Optional Parameters and Rest Parameters Functions with overloads En...
Distinct type Modelling currencies Avoiding SQL injection attacks Distinct type A distinct type is new type derived from a base type that is incompatible with its base type....
String type String type All string literals are of the type string. A string in Nim is very similar to a sequence of characters. However, strings in Nim are both zero-terminat...
Type Conversion Functions Common Issues of Numeric Conversions toInt(8|16|32|64|128|256) toInt(8|16|32|64|128|256)OrZero toInt(8|16|32|64|128|256)OrNull toUInt(8|16|32|64|256) ...
A Note on Soundness Starting out Comparing two functions Function Parameter Bivariance Optional Parameters and Rest Parameters Functions with overloads Enums Classes Privat...
Type aliases Type aliases Type aliases provide alternative names for existing types. If the type name is too long you can introduce a different shorter name and use the new one...
Type Aliases Models Record Constructors Type Aliases Type annotations can start to get long. This might be a real problem if you have records with many fields! This is the co...
Data Type Data Type IoTDB supports six data types in total: BOOLEAN (Boolean) INT32 (Integer) INT64 (Long Integer) FLOAT (Single Precision Floating Point) DOUBLE (Double Prec...
Introduction A Note on Soundness Starting out Comparing two functions Function Parameter Bivariance Optional Parameters and Rest Parameters Functions with overloads Enums C...