Hi,
Am 15.02.2009 um 03:18 schrieb kyle smith:
I'd like to do something like (map a-macro some-code)
What I can't do is (map #(a-macro %) some-code) because % evals each
code fragment.
1:1 user=> (map (var-get #'declare) [x y z])
((do (def x)) (do (def y)) (do (def z)))
I suppose you want to
On 15.02.2009, at 03:07, kyle smith wrote:
> I'm trying to map across code, but map evals each item in the list.
> I've been trying to re-implement map as a macro, but so far no
> success. Is there some way to accomplish this?
I am not sure I understand 100% what you want
On Feb 14, 9:07 pm, kyle smith wrote:
> I'm trying to map across code, but map evals each item in the list.
> I've been trying to re-implement map as a macro, but so far no
> success. Is there some way to accomplish this?
clojure.contrib.template/do-template may do what
Well, I'm just doing some exploratory programming, so I don't really
have anything yet.
I'd like to do something like (map a-macro some-code)
What I can't do is (map #(a-macro %) some-code) because % evals each
code fragment.
--~--~-~--~~~---~--~~
You received this
On Feb 14, 2009, at 9:07 PM, kyle smith wrote:
I'm trying to map across code, but map evals each item in the list.
I've been trying to re-implement map as a macro, but so far no
success. Is there some way to accomplish this?
Could you post a short example of the input and output
I'm trying to map across code, but map evals each item in the list.
I've been trying to re-implement map as a macro, but so far no
success. Is there some way to accomplish this?
--~--~-~--~~~---~--~~
You received this message because you are subscri