Faq - What is the difference between view, stream and iterator? - Scala Documentation


#1

First, they are all non-strict. That has a particular mathematical meaning related to functions, but, basically, means they are computed on-demand instead of in advance.


This is a companion discussion topic for the original entry at http://docs.scala-lang.org//tutorials/FAQ/stream-view-iterator.html