On Thu, Feb 5, 2009 at 2:59 PM, Nathan Cunningham wrote:
>
> Yup, that solves it.
> A while back the blah# didn't support working in nested back ticks. I
> hadn't realized they fixed it. Or for that matter added condp :)
The auto-gensym behavior hasn't changed.
user=> `(foo# ~(vector `foo#))
(f
Yup, that solves it.
A while back the blah# didn't support working in nested back ticks. I
hadn't realized they fixed it. Or for that matter added condp :)
Thanks!
On Feb 5, 1:42 pm, Meikel Brandmeyer wrote:
> Hi,
>
> first things first: what you want to do is available as condp in
> the core l
On Feb 5, 1:04 pm, Nathanael Cunningham wrote:
> I've been working on a def-casemacro macro and I've run into some trouble.
> The macro defines smaller macros based on a supplied name and test function.
> Each one evaluates the first argument and then uses the test to compare the
> result to each
Hi,
first things first: what you want to do is available as condp in
the core library of Clojure. That said, here some things I
noticed in your macro.
You should not capture variables in your macros. That's bad style and
might lead to clashes of names. Clojure provides the foo# notation
to gener
I've been working on a def-casemacro macro and I've run into some trouble.
The macro defines smaller macros based on a supplied name and test function.
Each one evaluates the first argument and then uses the test to compare the
result to each supplied case, evaluating whatever returns true or raisi