Compound data type: Difference between revisions
m
→{{header|ATS}}
m (→{{header|ATS}}) |
|||
Line 379:
=={{header|ATS}}==
There are numerous ways to do this. The simplest is to use an
<lang ATS>typedef point (t : t@ype+) = @(t, t)
|