comp.lang.tcl
[Top] [All Lists]

Re: merging variables and arrays ...

Subject: Re: merging variables and arrays ...
From: Andreas Leitgeb
Date: 30 May 2008 12:35:07 GMT
Newsgroups: comp.lang.tcl

Alexandre Ferrieux <alexandre.ferrieux@xxxxxxxxx> wrote:
[on defaults for dicts]
> What about:
>   [dict getdef $d $key1 ... $keyN $def]

Imho one point of this thread is storing the default with
the data (be it an array or dict), and not having to pass it
separately to the getter (be it a command or $-syntax).


<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy