Often if you want to know if something is a lazy seq, you really want to know if it is a delayed computation. If that's the case, realized? may help.
But I also wonder what you are trying to accomplish. There are many seqs in Clojure that are not lazy, and so could have interesting results if you expect a seq to be a lazy seq. Also, there are some really weird rules around chunked seqs, lazy seqs, and cons cells. Overall testing for a LazySeq is probably more trouble than it's worth. -- 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/d/optout.