views:

82

answers:

2

I want to construct a macro that, given a symbol 'foo, creates a method called foo*. How can I concatenate 'foo and '*?

+5  A: 
(let [s (symbol 'test)] 
  (symbol (str s "*")))
Hamza Yerlikaya
A: 
(symbol (str 'foo "*"))
Alin