arkadiy
this
class Foo { infix fun f(p: String) {} } fun g(body: Foo.() -> Any) {} fun main(args: Array<String>) { g { f "foo" f "bar" } }