[Pkg-tcltk-devel] Bug#993388: Bug#993388: tcl8.6: nested dicts: with lappend you can duplicate and than remove intermediate values

tomas at tuxteam.de tomas at tuxteam.de
Sat Sep 4 07:35:29 BST 2021


On Fri, Sep 03, 2021 at 08:43:50PM +0200, Davide Prina wrote:
> Hi Sergei,
> 
> On 31/08/21 18:29, Sergei Golovan wrote:
> 
> >As far as I can see, there's nothing wrong with Tcl here.
> 
> I'm very sorry for my mistakes :-(
> 
> Thanks for your explanation.
> 
> On nested dict there are very few documentation and, at first, I
> don't have fully understand the examples on the man page. So I have
> search and found a site that tell that the only way to modify a
> nested dict is with "dict with"... and I have make some mistakes...
> 
> I have try to understand dict better and found that you can modify
> nested dict also with "dict set"

Perhaps you already know that. In case you don't: https://wiki.tcl.tk/
is a nice resource for examples and good ideas, with a reasonable
search function. Try, e.g.

  https://wiki.tcl-lang.org/search?Q=nested+dict

HTH, cheers
 - t
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-tcltk-devel/attachments/20210904/308c9d3a/attachment.sig>


More information about the Pkg-tcltk-devel mailing list