• (maybe-ns package)

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/core.clj:27 top

(defn maybe-ns [package]
   (symbol? package) (or (find-ns package) (maybe-ns 'user))
   (string? package) (maybe-ns (symbol package))
   (keyword? package) (maybe-ns (name package))
   (instance? clojure.lang.Namespace package) package
   :else (maybe-ns 'user)))
Vars in swank.core/maybe-ns: cond defn find-ns instance? keyword? name or string? symbol symbol?
Used in 0 other vars

Comments top

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