Sum data type: Difference between revisions
m
→{{header|ALGOL 68}}: One day, I will learn how to spell "OCaml"...
m (→{{header|ALGOL 68}}: fixed Trans tag) |
m (→{{header|ALGOL 68}}: One day, I will learn how to spell "OCaml"...) |
||
Line 18:
=={{header|ALGOL 68}}==
{{Trans|
Algol 68's UNION MODE allows the definition of items which can have different types.
<lang algol68>MODE LEAF = INT;
|