Re: “Don’t know how to create ISeq from: Symbol” error

2008-12-15 Thread James Reeves
On Dec 15, 5:34 pm, Paul Reiners wrote: > I have the following Clojure code and I'm not sure why it's not > working: > > (defn match (x y &optional binds) >   (cond >    ((eql x y) (values binds t)) >    ((assoc x binds) (match (binding x binds) y binds)) >    ((assoc y binds) (match x (binding

Re: “Don’t know how to create ISeq from: Symbol” error

2008-12-15 Thread kwatford
> I have the following Clojure code and I'm not sure why it's not working: The short answer is: That's not Clojure code, it is Common Lisp code. Longer answer: Despite having similar-looking syntax, the two are not particularly related. Of the functions/macros you tried to use, I think only "and

Re: “Don’t know how to create ISeq from: Symbol” error

2008-12-15 Thread Randall R Schulz
On Monday 15 December 2008 09:34, Paul Reiners wrote: > I have the following Clojure code and I'm not sure why it's not > working: > > (defn match (x y &optional binds) > (cond >((eql x y) (values binds t)) >((assoc x binds) (match (binding x binds) y binds)) >((assoc y binds) (match