Some languages (Haskell, Clojure, Scheme, etc.) have lazy evaluation. One of the "selling points" of lazy evaluation is infinite data structures. What is so great about that? What are some examples of cases where being able to deal with infinite data structures is clearly advantageous?
转载于:https://stackoverflow.com/questions/5284458/what-are-some-compelling-use-cases-of-infinite-data-structures