Overview
| Comment: | 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. |
|---|---|
| Timelines: | family | ancestors | descendants | both | tip-764_tcl90 |
| Files: | files | file ages | folders |
| SHA3-256: |
2ce9df4c51f1f98a1c2cdcdb1a72480e |
| User & Date: | Florentis on 2026-11-05 13:22:58.895 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-11-05
| ||
| 21:13 | optimisation diverses check-in: 45f8717284 user: Florentis tags: tip-764_tcl90 | |
| 13:22 | v16r 1. Typed procedures: added syntax for configuring the unfolding of product and sum types: the p... check-in: 2ce9df4c51 user: Florentis tags: tip-764_tcl90 | |
| 11:19 | v16q (options and flags): only tclTypes.c and tclTypeParse.c are modified. A group is defined usi... check-in: 71c944ab7a user: Florentis tags: tip-764_tcl90 | |
Changes
Modified typeparse/REPRISE.md
from [e69cf69af9]
to [ddae046274].
[diff]
Modified typeparse/VERSION
from [1495f943bb]
to [f115da411b].
[diff]
Modified typeparse/doc/764.md
from [fa7b4ec6c2]
to [4bc55b273d].
[diff]
Modified typeparse/doc/ANNOTATIONS.fr.md
from [d61369a329]
to [1c535e4a55].
[diff]
Added typeparse/exemples/tcllib_geometry/LISEZMOI.md version [024b3086a9].
Added typeparse/exemples/tcllib_geometry/bench.tcl version [ba836e1eba].
Added typeparse/exemples/tcllib_geometry/geom.c version [bc9968a546].
Added typeparse/exemples/tcllib_geometry/geom_types.h version [42196590cc].
Added typeparse/exemples/tcllib_geometry/geometry.tcl version [bf43d9e956].
Added typeparse/exemples/tcllib_geometry/geometry_c.tcl version [8e806417d3].
Added typeparse/exemples/tcllib_geometry/geometry_ext.tcl version [99b1d6c8f7].
Added typeparse/exemples/tcllib_geometry/run_tests.tcl version [8b77178b60].
Modified typeparse/noyau/LISEZMOI.md
from [8af3a8aff2]
to [ed58f15d1f].
[diff]
Modified typeparse/tclTypes.c
from [9f8c672e6e]
to [89625325bf].
[diff]
Modified typeparse/tclTypes.h
from [1095985218]
to [7afb307c73].
[diff]
Added typeparse/tests_tclsh/t98_depliage.out version [3c35f0abe5].
Added typeparse/tests_tclsh/t98_depliage.tcl version [2f5268e7d0].