On Feb 20, 8:38 am, Johnny Kwan <[email protected]> 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 [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to