Sure, because you haven't quoted the symbol. If you write:
>
>     (str *ns* ":" some-bus)
>
> ups!!, yes I forget quoted the symbol, thanks james!!...
 

In Clojure, then Clojure will look for a variable called "some-bus". The 
> error you get is because it can't find such a variable.
>
> You want to either quote the symbol, or turn it into a string, e.g.
>
>     (str *ns* ":" (quote ~bus-name))
>     ; or
>     (str *ns* ":" ~(str bus-name))
>
> - James
>


just now I'm gonna use the defbus macro, I preferred use a function instead 
for the other case based in your suggestion and works really well (I 
changed the async code for a more readable too :D)...

 

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to