Artifact 523dc4a6accac355d883cb9a35a9e5d0aa53153ffbc9f6dcc3fa7886ca482078:
- File typeparse/tests_tclsh/t75_boucles_typees.out — part of check-in [9107e09d45] at 2026-11-14 21:03:39 on branch tip-764_tcl90 — 1° normalisation : 'int' and 'double' values are stored like expr does (first part of 'canonic type'). 2° Notes are now kept by constructors of variables -> 4 meta-types of values exist : bare (shimmering value), typed (with a type), noted (with a note), typednoted (with a type and a note). This is done through a new C Enum : typedef enum { TCL_META_BARE, /* nue : aucun type, aucune note ; elle scintille */ TCL_META_TYPED, /* typée : un type résolu, fixé */ TCL_META_NOTED, /* notée : des notes, pas de type (proto-type) */ TCL_META_TYPED_NOTED /* typée et notée */ } TclMeta; (user: Florentis, size: 642) [annotate] [blame] [check-ins using]
proc foreach : point point point global foreach : point point point eval foreach : point point point lmap $q(x) : 0.0 1.0 1.0 apply lmap : 0.0 1.0 2.0 après la boucle : 1.0 1.0 point deux variables : 0.0 0.0 (point) / 1.0 0.0 (point) deux variables : 1.0 1.0 (point) / () u=point v=point w=point sous contrat : {1.0 1.0} point 0 abc modifiée : 3 6 point copie partagée : point somme : forme.p forme.r liste nue : {{a b} {}} {{c d} {}} liste de listes : {{1 2} list<int>} {{3 4} list<int>} liste vide : 0 chaîne inchangée : {0.0 0.0} {1.0 0.0} {1.0 1.0}