user> (map (juxt seq? sequential?) '([1 2] (1 2))) ([false true] [true true])
All seqs are sequential, but not all sequential things are seqs. On Sep 3, 12:14 pm, octopusgrabbus <octopusgrab...@gmail.com> wrote: > I've noticed that solutions to rolling your own Clojure flatten involve the > sequential? function rather than the seq? function. > > What is the difference between these two functions? > > When I create a sequence is it automatically "sequential" or does the > creation require an overt step? > > Thanks. > cmn -- 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