How to use Function Literals with Receiver in Kotlin
Issue #139
From https://kotlinlang.org/docs/reference/lambdas.html
1 | class HTML { |
From https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/src/kotlin/util/Standard.kt
1 | internal.InlineOnly . |
From https://academy.realm.io/posts/kau-jake-wharton-testing-robots/
1 | fun payment(func: PaymentRobot.() -> Unit) = PaymentRobot().apply { func() } |