From ec0eea127787c5c1ed4d325e8fa9ce5483f05233 Mon Sep 17 00:00:00 2001 From: Johnathon Sage Date: Sat, 14 Nov 2015 16:56:27 -0500 Subject: [PATCH] Update api.rst (for [[( ... ) ( ... )]] ) --> HyMacroExpansionError: 'for' requires an even number of args. --- docs/language/api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/language/api.rst b/docs/language/api.rst index 3556222..71b3317 100644 --- a/docs/language/api.rst +++ b/docs/language/api.rst @@ -1502,7 +1502,7 @@ infinite series without consuming infinite amount of memory. .. code-block:: clj => (defn multiply [bases coefficients] - ... (for [[(, base coefficient) (zip bases coefficients)]] + ... (for [(, base coefficient) (zip bases coefficients)] ... (yield (* base coefficient)))) => (multiply (range 5) (range 5))