Is `run` needed there?
# getting-started
h
Is
run
needed there?
s
yep, they went over it in the thread
h
I see the convo now, I'm with @SiebelsTim in that it isn't required and should be simply
fun <T> tail(ls: List<T>) = ls.drop(1)
s
for sure, the
run { ... }
approach would just be to more visually simulate FP without any real discernible reason
💯 1
🤣 1