Ad
  • Default User Avatar

    Nice to be here. It seems like a great site. Not entirely sure, but I think they prefer Clojurian. I'm going to the Conj in Nov. so I'll ask around ;)

    Anyway, my subconcious is smarter than I am and I was driving down the road after posting this and it hit me that ->> is a macro and would expand out to avoid the infinite seq. I'll blame it on having to do Java day in/day out...

  • Default User Avatar

    I'm actually surprised that executes. I would expect that first iterate fn to attempt to realize the entire infinite sequence.

  • Default User Avatar

    In addition to Abbe's comment, a few of the Clojure solutions would fail when given an empty sequence (e.g. "", [], etc.).