File
typeparse/VERSION
— part of check-in
[2ce9df4c51]
at
2026-11-05 13:22:58
on branch tip-764_tcl90
— v16r
1. Typed procedures: added syntax for configuring the unfolding of product and sum types:
the prefix {*} applied to a type unfolds it into a list:
```
proc {{*}vector}h {h} {(0,$h)};
h 100 ; # {0 100}
```
the prefix {**} applied to a type unfolds it into a dict:
```
proc {{**}vector}h {h} {(0,$h)};
h 100 ; # {x 0 y 100}
```
This unfolding occurs recursively (deeply).
2. Example: the `math::geometry` package, reformulated using the types and expressions from TIP 759.
(user:
Florentis,
size: 5)
[annotate]
[blame][check-ins using]