Re: array literal syntax

2012-09-18 Thread Andrew Cheng
FYI, in #clojure, duck11232 suggested the following which works for me. (defn arr= [a b] (not (or (< a b) (> a b On Tue, Sep 18, 2012 at 4:54 PM, Andrew wrote: > In my ClojureScript unit tests, the following doesn't evaluate to true (= > (array 1 2) (foo)) even though all foo does is return

Re: (let [a 0] (eval 'a)))

2012-08-01 Thread Andrew Cheng
Thanks Evan and Lee Lee's approach works in my code except for one interesting wrinkle. The item that I pass in ('a' in the example) can only really be used if a particular library is loaded. So what I'm doing now is taking the code string from the user -- user-string-- and wrapping it like t