윤동환
08/10/2023, 2:07 AMT.() -> R and (T) -> R for function type?
First one called lambda with receiver and second one is the first class function.wakingrufus
08/10/2023, 5:18 AMrun vs letspand
08/10/2023, 6:59 AMkotlinx.html its T.() -> R because T is more of a context (ie. its kind of optional to use it so its annoying to shadow another it) whereas for forEach {} its more of a parameter since it doesnt make sense to call forEach() without actually using it.