Produces a Seq from a seed and a function.
Produces a Seq from a seed and a function.
Example, produces a List from 100 to 0.
unfoldLeft(0) { case a if a > 100 => None case a => Some((a + 1, a)) }
Type of the final List elements.
Seed type
Initial value.
Function producing the List elements.
Utilities functions for Collections