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