repeatValue

public func repeatValue[T](T) -> RepeatIterator[T]

Returns a RepeatIterator that yields copies of value forever. Combine with take to cap it.

Defined in lang/std/iter/adapters.ks