Krizzu
05/29/2018, 8:19 AMInt.() -> Unit. I get it’s a function, but this ClassName + dot is strange for memenegatti
05/29/2018, 8:23 AMKrizzu
05/29/2018, 8:23 AMInt in this example? How one pass such argument?spand
05/29/2018, 8:25 AMval foo : Int.() -> Unit = TODO(); 1.foo()menegatti
05/29/2018, 8:25 AMedwardwongtl
05/29/2018, 8:26 AMType.() limits the function to be member function of the TypeKrizzu
05/29/2018, 8:27 AMedwardwongtl
05/29/2018, 8:28 AM