Hi, i got into this while learning lambdas ``` // ...
# getting-started
z
Hi, i got into this while learning lambdas
Copy code
// this is what i kind of need
fun justFunction(i:Int?=1): Int {
    return 3
}
val b= justFunction(3)
val a = justFunction()

// but i wat to be able do define this behaviour by labdas
val singleParamFun: (i:Int?=1) -> Unit = ..
val aa = singleParamFun()
val bb = singleParamFun(2)
what does not compile for [Unsupported [default value of parameter in function type]] how would you appreach this when you want interface for functions wher eyou want to use defaults?