Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: mixed [key]=val and native syntax



On Sun, 24 Sep 2017 17:20:37 +0000
Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> For assocs would it make sense to allow mixing, but not between key and value, e.g., 
> 
>     typeset -A a=( k v [k2]=v2 k3 v3 )
> 
> but not
> 
>     typeset -A a=( k [k2]=v2 v )
> 
> ?

On rumination, I can't see it does any good whatsoever.

pws



Messages sorted by: Reverse Date, Date, Thread, Author