> > To rephrase the question differently, what could exist that is not a > > clojure `seq' that we would want to iterate over? > > > Clojure already answers this (partially?) by providing (dotimes ...) > > (as CL does) to iterate over a zero based consecutive and finite > > sequence of numbers. Though the same (dotimes ...) could be _used_ to > > iterate over any finite range) > > I'd argue that dotimes iterates, but doesn't iterate *over* anything > -- there's no Clojure sequence involved.
Yes. That is precisely the point. Everything that can be interpreted as a `seq', clojure's `doseq' takes care of it. What I am after are the "special cases" for things one could somehow enumerate but are not a `seq'. A number range is one such thing, and clojure provides 'dotimes' to handle this case. What could be the XYZ that are neither a `seq' nor a number range, for which we would want a `doXYZ' ? In other words, is the set `doseq', `dotimes' and `doall' complete, and if not, what is missing? Many thanks --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---