On Feb 20, 8:38 am, Johnny Kwan <johnny.c.k...@gmail.com> wrote:
> The specific problem I'm trying to solve is to see if two sequences of 
> strings "=" each other.  If one sequence is shorter, the "=" comparison stops 
> at the end of the shorter sequence.  So I've been trying to do a simple 
> (reduce and (map = seq1 seq2)).

(if (= (count seq1) (count seq2))
  (every? identity (map = seq1 seq2))

-- 
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

Reply via email to