• (vars nsname)
Returns a sorted seq of symbols naming public vars in
a namespace

1 Example top

  • (ns users)
    (use 'clojure.contrib.ns-utils)
    (def my-symbol 5)
    (vars users)
    => (my-symbol)
Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/ns_utils.clj:71 top

(defmacro vars
  "Returns a sorted seq of symbols naming public vars in
  a namespace"
  [nsname]
  `(ns-vars (get-ns '~nsname)))
Vars in clojure.contrib.ns-utils/vars: defmacro concat list seq
Used in 0 other vars

Comments top

No comments for vars. Log in to add a comment.