Ad
  • Custom User Avatar

    Polish it all you want, it's still a logarithmically convergent series :(

  • Custom 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...

  • Custom User Avatar

    BTW, nice to see another Clojuror (Clojurian?)

    Seems like most of the new people these days are here for Haskell...

  • Custom User Avatar

    Hehe, nope! map is almost as lazy as I am...

  • Custom User Avatar

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

  • Custom User Avatar

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