removed setf

This commit is contained in:
Tuukka Turto 2013-07-10 11:39:27 +03:00
parent e09a89b7cf
commit 6dc424007f

View File

@ -180,8 +180,8 @@ Some example usage:
def / setf / setv def / setf / setv
----------------- -----------------
`def`, `setv` and `setf` are used to bind value, object or a function to a `def` and `setv` are used to bind value, object or a function to a symbol. For
symbol. For example: example:
.. code-block:: clj .. code-block:: clj
@ -189,7 +189,7 @@ symbol. For example:
=> (print names) => (print names)
[u'Alice', u'Bob', u'Charlie'] [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) => (counter [1 2 3 4 5 2 3] 2)
2 2