Hi,

you can't transfer aliases from one namespace to another. But as a
workaround, you can create a file which contains the necessary
commands:

active-record/tables.clj:
(require '[active-record.user :as user])
(require '[active-record.charge :as charge])

And then just load the file in the namespaces you want to use the
tables.

(ns active-record.program.core
  (:load "tables"))
...
---
(ns active-record.program.different-namespace
  (:load "tables"))
...

(You might have to use "active-record/tables". Haven't used load in a
while. But without .clj extension!)

Sincerely
Meikel

-- 
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