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:
c-blake 2019-11-20 02:39:45 -05:00 • committed by Andreas Rumpf
commit a88004114d
3 changed files with 44 additions and 33 deletions

View file

@ -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