3 lines
81 B
Text
3 lines
81 B
Text
val .safediv = f { .x / .y ; catch { 0 } }
|
|
.safediv(7, 7) # 1
|
|
.safediv(7, 0) # 0
|