sdeleuze
03/27/2019, 8:13 AMFunction1
to Function22
) to acheive reflection-less injection of parameters by type?Czar
03/27/2019, 8:58 AMFunctionN
I also wonder if it can be used instead of Function1
-Function22
, its documentation says it is only for 23+ params, but I still wonder 🙂Czar
03/27/2019, 9:03 AMFunctionN
with reified params 😞 because you cannot specify arbitrary number of type parameters for a generic function 😐sdeleuze
03/27/2019, 9:03 AMsdeleuze
03/27/2019, 9:04 AMFunction
with reflectionCzar
03/27/2019, 9:29 AMCzar
03/27/2019, 9:32 AMcrossinline f: (Function1<A, T>)
is equivalent to crossinline f: (A) -> T
. Then you're free from using "glue" function interfaces at leastCzar
03/27/2019, 9:48 AMsdeleuze
03/27/2019, 9:49 AMsdeleuze
03/27/2019, 10:31 AM