buildSequence() Equivalent to: fun <T> sequence( block: suspend SequenceScope<T>.() -> Unit ): Sequence<T> For buildSequence we have: fun <T> buildSequence( block: suspend Yieldable<T>.() -> Unit ): Sequence<T>