rhea/assets/examples/match.rhea
2023-09-07 08:56:15 -05:00

9 lines
143 B
Plaintext

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