zoltu
For example to rewrite this code: list.map { if(it % 2 = 1) it * 2 else it}
list.map { if(it % 2 = 1) it * 2 else it}