> Just wondering is there is a chance that a future version of vim will allow 
> dictionary keys to be not just strings but dictionaries, lists, funcrefs or 
> other objects?
> 
> Other languages do allow this, such as Emacs Lisp, Python, Javascript, Lua, 
> C (like GLib).

Well, in the long list of features that could be added, I don't think
this would be near the top.  Although it sounds nice, the practical
usage is rather limited.  In most cases using string() on whatever you
want to use as a key will do the same thing, thus there doesn't seem to
be much reason to support this internally.

-- 
A radioactive cat has eighteen half-lives.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20230112200537.640B31C42FA%40moolenaar.net.

Raspunde prin e-mail lui