Skip to content
Tcl Source Code Artifact [f715ab030c]
Login

Artifact [f715ab030c]

Artifact f715ab030c3d14c846d5a089e0d4d269789fe2fda5741022bbe71174efb14fff:


{int}a; {int}b, {string}c          -> 1 mixing ";" and "," at the same level: group and name the inner part, as {int}a; {{int}b, {string}c}u, or define it with type def
{int}a, {int}b; {string}c          -> 1 mixing ";" and "," at the same level: group and name the inner part, as {int}a; {{int}b, {string}c}u, or define it with type def
{int}a; {{int}b, {string}c}        -> 1 a product field must be written {type}name: a group needs its name after the closing brace, as {int}a; {{int}b, {string}c}u
{int}a; {{int}b, {string}c}u       -> 0 
{{int}a; {int}b}p, {string}c       -> 0 
{{int}a; {int}b}, {string}c        -> 1 variant 1 of the sum has no name: a sum writes the name of its variant in its value; name it ({...}name), or write a union with "|" if the value itself tells the alternatives apart
{int}, {string}                    -> 1 variant 1 of the sum has no name: a sum writes the name of its variant in its value; name it ({int}name), or write a union with "|" if the value itself tells the alternatives apart
{int}x; {int}y                     -> 0