Other Data Types

In most programming languages, programming structures such as functions and user defined types are treated differently from normal values and are not considered data types. In Shang, any entity has a value and can be stored in a variable. Apart from the types discussed above, the following are all data types: They can be assigned to variables, and be entries of lists, and be passed to functions as arguments values. Functions are discussed in 5.9, classes and members are discussed in 6.16.4, and automatons in 11.4.3.



oz 2009-12-22