Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
language:types2:data [2024/07/18 12:21]
rajit
language:types2:data [2024/07/18 12:23] (current)
rajit [Structures]
Line 119: Line 119:
 The distinction between a structure and another data type is that other data types are The distinction between a structure and another data type is that other data types are
 implementations of one of the built-in types like ''int'' or ''bool.''  implementations of one of the built-in types like ''int'' or ''bool.'' 
 +
 +==== Pure structures ====
 +
 +A pure structure is one that only contains other pure structures or ''int'' and ''bool'' components. 
 +In other words, they are structures that don't include channels. Structures like this correspond 
 +to what is normally viewed as a record/struct in a normal software programming language.
 +