Convert closure to Comparator, JS backend?

That is nice, but it doesn't solve the general need:

  To make calling SAMs with lambdas as efficient as possible.

It sounds like the support for calling Java code with lambdas is better than the support for calling Kotlin code!

Groovy has this capability and it is very handy: the code is clear and succinct.

Please consider adding this feature for Kotlin calling Kotlin.

Neil