Cheers Jim, my problem is now solved using :when and then doing (apply str (fn)) to the return value.
On Friday, 21 June 2013 14:08:19 UTC+1, Jim foo.bar wrote: > > 'for' accepts a :when clause which will get you even further :) > > Jim > > ps: it also accepts a :let clause if you find it useful > > > On 21/06/13 14:06, Jay C wrote: > > Thanks for all the input. Using for as in Phillip's suggestion seems > > to have gotten me somewhere, but now the function returns during every > > iteration. What am I missing to have it only return when a conditional > > statement is satisfied? > > -- > > -- > > You received this message because you are subscribed to the Google > > Groups "Clojure" group. > > To post to this group, send email to clo...@googlegroups.com<javascript:> > > Note that posts from new members are moderated - please be patient > > with your first post. > > To unsubscribe from this group, send email to > > clojure+u...@googlegroups.com <javascript:> > > For more options, visit this group at > > http://groups.google.com/group/clojure?hl=en > > --- > > You received this message because you are subscribed to the Google > > Groups "Clojure" group. > > To unsubscribe from this group and stop receiving emails from it, send > > an email to clojure+u...@googlegroups.com <javascript:>. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.