On Feb 14, 2:09 am, Mike Meyer <mwm-keyword-googlegroups.
620...@mired.org> wrote:
> Second, is there a way to refer to a relative namespace?

Not as such, but the 'load' function uses the parent directory of the
current namespace:

(ns foo.bar.baz
  (:load "quux"))
;; => loads foo/bar/baz.clj and foo/bar/quux.clj

(ns foo.bar.baz
  (:load "baz/quux"))
;; => loads foo/bar/baz.clj and foo/bar/baz/quux.clj

-SS

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to