On Tue, Sep 18, 2012 at 5:07 PM, Andrew Cheng <ache...@gmail.com> wrote: > FYI, in #clojure, duck11232 suggested the following which works for me. > > (defn arr= [a b] (not (or (< a b) (> a b))))
This is not valid Clojure. Using this in CLJS will result in things like the following: (arr= (array 1) (array "1")) ;; => true < and > only have defined behavior when given numerical values - not arrays, not strings, etc. Depending on this behavior is not recommended. David -- 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 Note that posts from new members are moderated - please be patient with your first post. 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