I\'m having a hard time understanding the difference between rest and next in Clojure. The official site\'s page on laziness indicates that the pre
As the page you linked described, next is stricter than (the new behaviour of) rest because it needs to evaluate the structure of the lazy cons to know whether to return nil or a seq.
rest on the other hand always returns a seq, so nothing needs to be evaluated until you actually use the result of rest. In other words, rest is more lazy than next.