<kotlin inner DSL that use infix functions to add ...
# stackoverflow
u
kotlin inner DSL that use infix functions to add more clarity kotlin 1.2.71 I have the following DSL I am writing and want to get it as close to this sample as possible: android { compileSdkVersion 26 buildToolsVersion "28.0.3" } I am doing this using infix functions and lambda and receivers. Inside my DSL I have to use the it keyword otherwise I can't get the infix function to work. Just wondering, if there was a way to do this? Another question: In my infix function do I need to use it as an extension function and prefix it with the...