Here's my implementation. Seems to be working fine. I like it. http://github.com/hlship/cascade/blob/master/src/main/clojure/cascade/utils.clj http://github.com/hlship/cascade/blob/master/src/test/clojure/cascade/test_utils.clj
On Sat, Oct 17, 2009 at 5:06 PM, Howard Lewis Ship <hls...@gmail.com> wrote: > Coming right up! > > On Sat, Oct 17, 2009 at 9:14 AM, Sean Devlin <francoisdev...@gmail.com> wrote: >> >> So you have a working version of this macro, as well as some use cases >> in actual code? This would help the discussion a lot. >> >> Thanks! >> >> On Oct 17, 10:43 am, Howard Lewis Ship <hls...@gmail.com> wrote: >>> I keep coming into situations where I'd like a let in the middle of my >>> cond. I often do a couple of tests, then would like to lock down some >>> symbols that I'll use frequently in the remaining cases. >>> >>> There's a precedent for this, in that the for macro allows a :let as >>> an alternative to a list interpolation term. >>> >>> I'm working on my own implementation of cond to support this and would >>> like to see it in core. >>> >>> Thoughts? >>> >>> -- >>> Howard M. Lewis Ship >>> >>> Creator of Apache Tapestry >>> >>> The source for Tapestry training, mentoring and support. Contact me to >>> learn how I can get you up and productive in Tapestry fast! >>> >>> (971) 678-5210http://howardlewisship.com >> >> >> > > > > -- > Howard M. Lewis Ship > > Creator of Apache Tapestry > > The source for Tapestry training, mentoring and support. Contact me to > learn how I can get you up and productive in Tapestry fast! > > (971) 678-5210 > http://howardlewisship.com > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---