Streamlazylist

Scala

Scala - Stream/LazyList

• Scala’s LazyList (formerly Stream in Scala 2.12) provides memory-efficient processing of potentially infinite sequences through lazy evaluation, computing elements only when accessed

Read more →