Thanks for your suggestion. I finally decided to find a way around the
problem. :) This is cutting too deep for me to handle with my current
clojure knowledge.
I also talked to Constantine Vetoshev (the author of appengine-magic)
and he anknowledged it as an issue which could have a solution by
changing the query macro. So, for the moment I'm waiting for a new
version.

Thanks anyway. I really appreciate the activity on this group.

Razvan

On Oct 3, 11:49 pm, Michał Marczyk <michal.marc...@gmail.com> wrote:
> Ok, so I mailed off the above discussion without including any
> suggestions for alternative approaches... *fail*
>
> Anyway, I think Joop's answer (especially the first code snippet) is
> *very* likely to be the best. As far as I can tell from reading the
> source, appengine-magic's query macro includes the filter expression
> in its expansion verbatim, so it will just be evaluated at run time.
>
> If you do want to play around with some super-flexible eval-based
> approaches, you might want to give Michael Fogus's highly enjoyable
> evalive library [1] a try -- it provides an aptly named #'evil
> function which, together with its companion macro #'local-bindings (or
> was it #'local-env...), does allow one more flexibility in what one
> evals. The usual warnings (don't eval unless you have to etc.) apply.
>
> Sincerely,
> Michał
>
> [1]https://github.com/fogus/evalive

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

Reply via email to