Skip right expression evaluation in OR if left returns true
This commit is contained in:
3 files changed
+41
-6
No files matched your search
@@ -0,0 +1,12 @@
|
||||
fun putstr(s)
|
||||
|
||||
fun f1() =
|
||||
putstr("funkcija 1\n\00"),
|
||||
0
|
||||
|
||||
fun f2() =
|
||||
putstr("funkcija 2\n\00"),
|
||||
0
|
||||
|
||||
fun main() =
|
||||
f1() || f2()
|
||||
Reference in new issue
Block a user