Maxim Kim wrote:
> > Later it became clear that using a simple key name is very common, thus
> > **literally** dictionaries were introduced in a backwards compatible way:
> >
> > let dict = #{key: value}
> >
> > However, this #{} syntax is unlike any existing language. As it appears
> that
> > using a **literaly** key is much more common than using an expression, and
> > considering that JavaScript uses this syntax, using the {} form for
> dictionary
> > literals was considered a much more useful syntax. In Vim9 script the {}
> form
> > uses literal keys: >
> > let dict = {key: value}
>
>
> What is correct? `Literally`, `literaly`? Or should it be just `literal` as
> in
> dictionary literal values
> https://www.linuxtopia.org/online_books/programming_books/python_programming/python_ch15s02.html?
"literaly" is a typo, it should be "literal". Thanks for pointing out.
--
They now pass three KNIGHTS impaled to a tree. With their feet off the
ground, with one lance through the lot of them, they are skewered up
like a barbecue.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ 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/202011201127.0AKBR0S3605993%40masaka.moolenaar.net.