poohbar
10/01/2018, 3:49 PMalso,run,let,apply etc should I use:
1. the extension must be lambda that takes one parameter (like let), can't be this
2. it automatically returns the input just like apply doesLuke
10/01/2018, 3:52 PM.letpoohbar
10/01/2018, 3:52 PM.let returns R and not Tpoohbar
10/01/2018, 3:53 PMpublic inline fun <T, R> T.poo(
block: (T) → R
): TAlowaniak
10/01/2018, 4:04 PMarekolek
10/01/2018, 4:54 PMilya.gorbunov
10/02/2018, 12:13 AMblock to return R type if you doesn't use it?ilya.gorbunov
10/02/2018, 12:14 AM