Update api.rst

(for [[( ... ) ( ... )]] )  --> HyMacroExpansionError: 'for' requires an even number of args.
This commit is contained in:
Johnathon Sage 2015-11-14 16:56:27 -05:00
parent 7dbd3bcf7c
commit ec0eea1277

View File

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