Re: unexpected return value

2009-07-02 Thread Stephen C. Gilardi
On Jul 2, 2009, at 1:48 PM, Mark Volkmann wrote: (defn match [prev-char next-char] (cond = prev-char \( (= next-char \)) \[ (= next-char \]) true false)) It looks like you intended condp here instead of cond. Your test works as expected if you make that change. However, there's a

Re: unexpected return value

2009-07-02 Thread Meikel Brandmeyer
Hi again, Am 02.07.2009 um 19:52 schrieb Meikel Brandmeyer: (defn match [prev-char next-char] (cond = prev-char Typo: you mean cond*p* instead of cond. \( (= next-char \)) \[ (= next-char \]) true false)) And BTW: the true shouldn't be there. If there is an odd number of clauses, th

Re: unexpected return value

2009-07-02 Thread Meikel Brandmeyer
Hi, Am 02.07.2009 um 19:48 schrieb Mark Volkmann: (defn match [prev-char next-char] (cond = prev-char Typo: you mean cond*p* instead of cond. \( (= next-char \)) \[ (= next-char \]) true false)) Sincerely Meikel smime.p7s Description: S/MIME cryptographic signature