On Sunday, August 2, 2015 at 2:40:55 PM UTC-4, Alex Miller wrote: > > realized? throws when passed something that's not IPending. Lazy seqs (but > not all seqs) implement IPending, thus the vast majority of realized? users > already have an if check prior to making the call. Any code of that form > continues to work. I think it would be a better idea if realized? did this > for you (which is the ticket above). > > This was discussed at length prior to release and the decision was to > leave the new range in its current state. >
I'd say it's a defect for it to not, at the very least, not-throw when passed any seq (and then it should return true for any non-lazy one). -- 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.