are there any reasons why the documentation of `Se...
# stdlib
t
are there any reasons why the documentation of
Sequence#take(…)
does contain code examples only for the
Iterable#take(…)
method and even mentions variants of
take
that do not even exist on
Sequence
? https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/take.html
z
That must be a mistake.
e
looks like there just isn't a sample for Sequences.Transformations.take() https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/samples/test/samples/collections/sequences.kt
so the kdoc points to
@sample samples.collections.Collections.Transformations.take
https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/common/src/generated/_Sequences.kt