evant
10/10/2020, 8:32 PM(Int) -> String
has the type
kotlin.Function1<Int, String>
and
suspend (Int) -> String
has the type
kotlin.coroutines.SuspendFunction1<Int, String>
would it make sense to represent these more specially as function types? Or maybe have some helpers to detect if a type is a function type, what it's args/return type is, if it's suspend etc?Ting-Yuan Huang
10/10/2020, 9:08 PM