On Feb 5, 1:04 pm, Nathanael Cunningham <penguin2...@gmail.com> 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 supplied case, evaluating whatever returns true or raising an > error otherwise. Your basic ecase like macros.
There's some code very similar to what you describe in clojure.contrib.fcase. -Stuart Sierra --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---