On May 19, 2012, at 1:12 PM, Alex Robbins wrote:
> Is it possible to use dynamically generated goals in run* ?
You might want to think macros. I have written macros that tweak `run` bodies
for various purposes:
`(~@runner [~qvar]
(l/fresh [~(gensyms :procedure) ~(gensyms :animal)]
(procedure-applies-to-animal-o ~(gensyms :procedure)
~(gensyms :animal))
(l/== ~(gensyms :procedure) ~procedure)
(l/== ~(gensyms :animal) ~animal)
~setter))]
-----
Brian Marick, Artisanal Labrador
Now working at http://path11.com
Contract programming in Ruby and Clojure
Occasional consulting on Agile
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en