update doc comment with regards to the return value

This commit is contained in:
Gered 2014-04-09 09:20:48 -04:00
parent f539f5b5db
commit 9863a8708e

View file

@ -81,9 +81,7 @@
will be left unsuppressed. All other exceptions will be silently suppressed. The default will be left unsuppressed. All other exceptions will be silently suppressed. The default
for this option is false. for this option is false.
A sequence of maps will be returned, where each map holds information about a var that was A sequence of the actual vars found will be returned."
found. The :ns key is the namespace which the var was found in, and :var is the Clojure var
itself (which you can get the value of by, e.g. using var-get)"
[meta-pred & {:keys [namespace-pred] :as options}] [meta-pred & {:keys [namespace-pred] :as options}]
(->> (find-namespaces namespace-pred) (->> (find-namespaces namespace-pred)
(map #(find-vars-in % meta-pred options)) (map #(find-vars-in % meta-pred options))