This website requires JavaScript.
Explore
Help
Register
Sign in
aparler
/
RosettaCodeData
Watch
1
Star
0
Fork
You've already forked RosettaCodeData
0
Code
Issues
12
Pull requests
3
Projects
Releases
Packages
Wiki
Activity
Actions
main
RosettaCodeData
/
Task
/
Exceptions
/
Langur
/
exceptions-3.langur
4 lines
95 B
Text
Raw
Permalink
Normal View
History
Unescape
Escape
Data update
2026-04-30 12:34:36 -04:00
val safediv = fn(x number, y number) { x / y ; catch : 0 }
Data update
2024-07-13 15:19:22 -07:00
safediv(7, 7) # 1
safediv(7, 0) # 0
Reference in a new issue
Copy permalink