anglais/examples/foo.ang
2026-09-10 12:59:29 +02:00

8 lines
94 B
Text

fn foo(n: int) -> str {
if n % 2 == 0 {
"foo"
} else {
"bar"
}
}