Skip to content
Tcl Source Code Check-in [2ce9df4c51]
Login

Check-in [2ce9df4c51]

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: 2ce9df4c51f1f98a1c2cdcdb1a72480e4c8b753ff560cbfd0fc58fbd6f3b2731
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