From 6dc424007fa364ef2a4d21b1049b3d437f222bba Mon Sep 17 00:00:00 2001 From: Tuukka Turto Date: Wed, 10 Jul 2013 11:39:27 +0300 Subject: [PATCH] removed setf --- docs/language/api.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/language/api.rst b/docs/language/api.rst index 903a8f7..2492dd9 100644 --- a/docs/language/api.rst +++ b/docs/language/api.rst @@ -180,8 +180,8 @@ Some example usage: def / setf / setv ----------------- -`def`, `setv` and `setf` are used to bind value, object or a function to a -symbol. For example: +`def` and `setv` are used to bind value, object or a function to a symbol. For +example: .. code-block:: clj @@ -189,7 +189,7 @@ symbol. For example: => (print names) [u'Alice', u'Bob', u'Charlie'] - => (setf counter (fn [collection item] (.count collection item))) + => (setv counter (fn [collection item] (.count collection item))) => (counter [1 2 3 4 5 2 3] 2) 2