From 378ffae6f73079d0d27ca7e8f883bff504f2ab78 Mon Sep 17 00:00:00 2001 From: Abhishek L Date: Thu, 10 Apr 2014 23:51:32 +0530 Subject: [PATCH] Fix versionadded in docs to 0.10.0 release --- docs/contrib/loop.rst | 2 +- docs/contrib/multi.rst | 2 +- docs/language/api.rst | 8 ++++---- docs/language/core.rst | 16 ++++++++-------- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/contrib/loop.rst b/docs/contrib/loop.rst index d2adf1c..84b37ea 100644 --- a/docs/contrib/loop.rst +++ b/docs/contrib/loop.rst @@ -2,7 +2,7 @@ loop/recur ========== -.. versionadded:: 0.9.13 +.. versionadded:: 0.10.0 The loop/recur macro gives programmers a simple way to use tail-call optimization (TCO) in their Hy code. diff --git a/docs/contrib/multi.rst b/docs/contrib/multi.rst index b8f3619..dc4bf64 100644 --- a/docs/contrib/multi.rst +++ b/docs/contrib/multi.rst @@ -2,7 +2,7 @@ defmulti ======== -.. versionadded:: 0.9.13 +.. versionadded:: 0.10.0 `defmulti` lets you arity-overload a function by the given number of args and/or kwargs. Inspired by clojures take on `defn`. diff --git a/docs/language/api.rst b/docs/language/api.rst index 0f63937..57f6029 100644 --- a/docs/language/api.rst +++ b/docs/language/api.rst @@ -43,7 +43,7 @@ behavior that's slightly unexpected in some situations. . - -.. versionadded:: 0.9.13 +.. versionadded:: 0.10.0 `.` is used to perform attribute access on objects. It uses a small DSL @@ -423,7 +423,7 @@ Parameters may have following keywords in front of them: defn-alias / defun-alias ------------------------ -.. versionadded:: 0.9.13 +.. versionadded:: 0.10.0 The `defn-alias` and `defun-alias` macros are much like `defn`_ above, with the difference that instead of defining a function with a single @@ -705,7 +705,7 @@ the `if` form is used to conditionally select code to be executed. It has to contain the condition block and the block to be executed if the condition evaluates `True`. Optionally it may contain a block that is executed in case the evaluation of the condition is `False`. The `if-not` form (*new in -0.9.13*) is similar, but the first block after the test will be +0.10.0*) is similar, but the first block after the test will be executed when the test fails, while the other, conditional one, when the test succeeds - opposite of the order of the `if` form. @@ -1232,7 +1232,7 @@ infinite series without consuming infinite amount of memory. zipwith ------- -.. versionadded:: 0.9.13 +.. versionadded:: 0.10.0 `zipwith` zips multiple lists and maps the given function over the result. It is equilavent to calling ``zip``, followed by calling ``map`` on the result. diff --git a/docs/language/core.rst b/docs/language/core.rst index 5c03188..46b21b2 100644 --- a/docs/language/core.rst +++ b/docs/language/core.rst @@ -11,7 +11,7 @@ Core Functions coll? ----- -.. versionadded:: 0.9.13 +.. versionadded:: 0.10.0 Usage: ``(coll? x)`` @@ -32,7 +32,7 @@ Returns true if argument is iterable and not a string. cons ---- -.. versionadded:: 0.9.13 +.. versionadded:: 0.10.0 Usage: ``(cons a b)`` @@ -52,7 +52,7 @@ Returns a fresh :ref:`cons cell ` with car `a` and cdr `b`. cons? ----- -.. versionadded:: 0.9.13 +.. versionadded:: 0.10.0 Usage: ``(cons? foo)`` @@ -99,7 +99,7 @@ Raises ``TypeError`` if ``(not (numeric? x))``. disassemble ----------- -.. versionadded:: 0.9.13 +.. versionadded:: 0.10.0 Usage: ``(disassemble tree &optional [codegen false])`` @@ -143,7 +143,7 @@ Return True if ``coll`` is empty, i.e. ``(= 0 (len coll))``. every? ------ -.. versionadded:: 0.9.13 +.. versionadded:: 0.10.0 Usage: ``(every? pred coll)`` @@ -379,7 +379,7 @@ arguments. If the argument list only has one element, return it. macroexpand ----------- -.. versionadded:: 0.9.13 +.. versionadded:: 0.10.0 Usage: ``(macroexpand form)`` @@ -398,7 +398,7 @@ Returns the full macro expansion of form. macroexpand-1 ------------- -.. versionadded:: 0.9.13 +.. versionadded:: 0.10.0 Usage: ``(macroexpand-1 form)`` @@ -601,7 +601,7 @@ Return the second member of ``coll``. Equivalent to some ---- -.. versionadded:: 0.9.13 +.. versionadded:: 0.10.0 Usage: ``(some pred coll)``