1.2.0 permalink Arrow_down_16x16
  • (potential-ns)
  • (potential-ns ns)
Returns a list of potential namespace completions for a given
namespace

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source swank/commands/completion.clj:5 top

(defn potential-ns
  "Returns a list of potential namespace completions for a given
   namespace"
  ([] (potential-ns *ns*))
  ([ns]
     (for [ns-sym (concat (keys (ns-aliases (ns-name ns)))
                          (map ns-name (all-ns)))]
       (name ns-sym))))
Vars in swank.commands.completion/potential-ns: *ns* defn for name
Used in 0 other vars

Comments top

No comments for potential-ns. Log in to add a comment.