Re: Loading two namespaces that :use each other.

2009-01-31 Thread Meikel Brandmeyer
Hi, Am 31.01.2009 um 02:19 schrieb CuppoJava: (defn new_sprite_engine [] ... (add_sprite (new_cursor_sprite)) ...) So, my code (I think) is pretty well separated in terms of responsibility. But as it's structured right now, I can't load the file. Is there an elegant way of going about this?

Re: Loading two namespaces that :use each other.

2009-01-30 Thread CuppoJava
Mmm, I could create a third namespace that contained the common functionality. But it is an artificial separation. If a user read through the source code, he would think "why is this code separated into two files, when it's dealing with the same thing?" Anyway, here's my use-case: I wrote a sprit

Re: Loading two namespaces that :use each other.

2009-01-29 Thread Paul Stadig
I've run into some similar problems, but what I did was to just create a third namespace that contained the common core functionality. Could you, or have you tried something like that? Aside from that you could maybe try to do something in the body of your file (instead of the ns form) to deal wi

Loading two namespaces that :use each other.

2009-01-28 Thread CuppoJava
Hi, I'm unused to managing file dependencies myself, and I'm lost as to how to load two namespaces that reference each other. I'm treating the (use) command as analagous to java's import command. But I've run into problems trying to load this namespace: Do I have to resort to manually separating