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