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