rhea/assets/examples/match.rhea
2023-09-14 17:35:11 +02:00

9 lines
143 B
Plaintext

var std = import "std";
var print = std.print;
func main() {
match 2 {
1 -> { print("One") }
2 -> { print("Two") }
}
}