Re: executing conditional if like iif from other languages

2014-05-09 Thread Don Hill
The multi-if was a typo it should be iif. I know if I am passing in a even pairs :then 'dosomething :else 'dosomethingelse works fine with {:keys}. What I think I should be doing is somehow grab whats in :then/:else and wrap in a (do). At this point I was just wondering how to solve for this ma

Re: executing conditional if like iif from other languages

2014-05-08 Thread Atamert Ölçgen
On Fri, May 9, 2014 at 5:44 AM, Don Hill wrote: > I am trying to get a couple of edge cases to past and since I am very new > to clojure/lisp (2 days total) I thought I would ask. > > > I am using defmacro like the following. I have 2 edge case which are > failing. I would like to be able to proc

executing conditional if like iif from other languages

2014-05-08 Thread Don Hill
I am trying to get a couple of edge cases to past and since I am very new to clojure/lisp (2 days total) I thought I would ask. I am using defmacro like the following. I have 2 edge case which are failing. I would like to be able to process these cases where there are extra bits and as you pro