Discussion both in (#12678)
https://github.com/nim-lang/Nim/pull/12600 and in https://forum.nim-lang.org/t/5499 indicates that everyone is happy/happier with ``pop``. This just renames the brand new ``take``s to ``pop`` and installs inline aliases/wrappers to preserve ``Table.take`` and ``TableRef.take``. Update apis.rst to try to maintain consistency of remove-and-return procs.
This commit is contained in:
parent
56a00da34a
commit
a88004114d
3 changed files with 44 additions and 33 deletions
|
|
@ -44,6 +44,7 @@ delete delete, del del is supposed to be faster than
|
|||
delete, because it does not keep
|
||||
the order; delete keeps the order
|
||||
remove delete, del inconsistent right now
|
||||
remove-and-return pop ``Table``/``TableRef`` alias to ``take``
|
||||
include incl
|
||||
exclude excl
|
||||
command cmd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue