Re: Aw: Re: dict replace $list does not return a dict



Andreas Leitgeb <avl@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Perhaps some canonical idiom of dict-purification should be
proposed (TIP anyone?). I'd suggest [dict merge $d] rather
than [dict replace], but either (or even both) would do.

Hmm, partially changing my mind only 5 minutes later ;-)

Based on [lrange $l 0 end] being the canonisation idiom for lists,
[dict replace $d] would indeed seem like the more natural pendant.

.