On Apr 9, 2010, at 10:39 AM, Josh Stratton wrote:

> Here's an example of trying to use "map" to bring the two tables
> together together in the same scope.  I'm doing this because the nth
> element in one sequence correlates to its nth counterpart in the
> second sequence.  mainTables is a sequence of JTables and fixedTables
> is an equally sized sequence of JTables.  For some reason though it
> appears that setupTable is never being called.  Why is that?  Is there
> a better way to do this?

Map is lazy. Don't use it when you just want side-effects; use doseq instead, 
as John Williams already suggested.

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to