title: What is a purpose of Lambda's with Receiver?
body: <p>What is a purpose of Lambda's with Receiver in Kotlin, while we have extension functions ?</p>
  
  <p>Two functions below do the same things, however first one is more readable and short:</p>
  
  <pre><code>fun main(args: Array&lt;String&gt;) {
      println("123".represents(123))
      println(123.represents("123"))
  }
  
  fun String.represents(another: Int) = toIntOrNull() == another
  
  val represents: Int.(String) -&gt; Boolean = {this == it.toIntOrNull()}
  </code></pre>