Compound data type: Difference between revisions

m
Line 379:
=={{header|ATS}}==
 
There are numerous ways to do this. The simplest is to use an unallocated"unboxed" tuple type:
 
<lang ATS>typedef point (t : t@ype+) = @(t, t)
1,448

edits