Thanks for pointing this out.

Adding the namespace declaration was exactly the reason why loading
the file did not work in the first place.

Now everything is working like a charm, and thanks to you I learnt yet
another piece of the Clojure puzzle!

Best regards,

Stefan

On Oct 24, 10:54 pm, Meikel Brandmeyer <m...@kotka.de> wrote:
> Hi,
>
> On 24 Okt., 04:00, Stefan Rohlfing <stefan.rohlf...@gmail.com> wrote:
>
> > This is what I did:
> > ---------------------------------------------------------------------
> > src/active-record/tns.clj
>
> > (ns active-record.tns)
>
> > (require '[active-record.user :as user])
> > (require '[active-record.charge :as charge])
>
> You should not add a ns clause in this file. It acts like a C header
> would work. If you add a ns clause the namespace is changed again and
> the aliases are not done in the namespace which loads the file.
>
> 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