Cuneiform (programming language): Difference between revisions

Content deleted Content added
m linking
m linking
Line 167:
===Records and Pattern Matching===
 
Cuneiform provides records[[Record_(computer_science)|record]]s (structs) as compound data types. The example below shows the definition of a variable <code>r</code> being a record with two fields <code>a1</code> and <code>a2</code>, the first being a string and the second being a Boolean.
 
<pre>