2010/11/8 Alan <a...@malloys.org> > Yes, those are the two choices. Ken's suggestion is the cleanest, and > you definitely should do that in cases where it's not burdensome. > Here, where it's a macro for private testing, and you are certain not > to forget that it's magically binding session for you, then go ahead > and use Laurent's suggestion to create bindings. >
Ay, it was not a suggestion, just a specific answer to the specific question :-) > > On Nov 8, 11:38 am, Miki <miki.teb...@gmail.com> wrote: > > >> that is, use ~'session instead of just session. > > > What you really want in this case is a binding. Try this: > > > ... > > > The added parameter just before the body specifies a name to bind the > > > session object to; this name can then be used in the body. > > > > This is good a well, but I prefer to dark magic suggested by Laurent :) > > -- > 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<clojure%2bunsubscr...@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 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