Add versionadded directives for macroexpand and macroexpand-1.
This commit is contained in:
parent
7177afd707
commit
d9d113670e
@ -243,11 +243,13 @@ Contrast with :ref:`iterable?-fn`.
|
||||
=> (iterator? (iter {:a 1 :b 2 :c 3}))
|
||||
True
|
||||
|
||||
.. _neg?-fn:
|
||||
.. _macroexpand-fn:
|
||||
|
||||
macroexpand
|
||||
-----------
|
||||
|
||||
.. versionadded:: 0.9.13
|
||||
|
||||
Usage: ``(macroexpand form)``
|
||||
|
||||
Returns the full macro expansion of form.
|
||||
@ -260,9 +262,13 @@ Returns the full macro expansion of form.
|
||||
=> (macroexpand '(-> (a b) (-> (c d) (e f))))
|
||||
(u'e' (u'c' (u'a' u'b') u'd') u'f')
|
||||
|
||||
.. _macroexpand-1-fn:
|
||||
|
||||
macroexpand-1
|
||||
-------------
|
||||
|
||||
.. versionadded:: 0.9.13
|
||||
|
||||
Usage: ``(macroexpand-1 form)``
|
||||
|
||||
Returns the single step macro expansion of form.
|
||||
@ -272,6 +278,8 @@ Returns the single step macro expansion of form.
|
||||
=> (macroexpand-1 '(-> (a b) (-> (c d) (e f))))
|
||||
(u'_>' (u'a' u'b') (u'c' u'd') (u'e' u'f'))
|
||||
|
||||
.. _neg?-fn:
|
||||
|
||||
neg?
|
||||
----
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user