mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-02 21:00:56 +00:00
34 lines
273 B
Plaintext
34 lines
273 B
Plaintext
func depth(i: int32) {
|
|
if i <= 0 {
|
|
return None
|
|
}
|
|
println("Depth: ", i)
|
|
depth(i - 1)
|
|
}
|
|
|
|
export func main() {
|
|
if true {
|
|
false
|
|
}
|
|
|
|
if false {
|
|
true
|
|
}
|
|
|
|
if true {
|
|
|
|
} else {
|
|
|
|
}
|
|
|
|
if false {
|
|
|
|
} else {
|
|
|
|
}
|
|
|
|
depth(500)
|
|
|
|
println("uhm, bad")
|
|
}
|