<@U0B8ZP13Q>: did you try the full code? `.map(::...
# announcements
a
@cedric: did you try the full code?
.map(::generateRandomString)
expects what signature?
(T)->V
but you just changed
generateRandomString(T)->V
to
generateRandomString(T1,T2)->V
therefore
Copy code
Error:(14, 7) Type inference failed: inline fun <T, R> kotlin.Iterable<T>.map(transform: (T) -> R): kotlin.List<R>
cannot be applied to
receiver: kotlin.IntRange  arguments: (kotlin.reflect.KFunction2<kotlin.Int, (kotlin.Char) -> kotlin.Boolean, kotlin.String>)