This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues or pull requests.
compilation/flap/tests/02-Interpreter/57-if-03.eval.hopix.human-readable
2023-10-25 15:16:53 +02:00

9 lines
No EOL
185 B
Text

fun f (x) =
if (x >? 0) then { "KO" }
else { if (x <? 0) then { "KO" }
else { "OK" } }
let test =
print_string ("This test is ");
print_string (f (0));
print_string (".\n")