How to convert List to LazyList?

Viewed 2265

How to make a list lazy, i.e. create a LazyList given a usual one? I tried to find suitable method in Scala documentation, but there is no such function.

0 Answers
Related