rhea/assets/examples/match.rhea

9 lines
143 B
Plaintext
Raw Normal View History

2023-09-14 10:35:11 -05:00
var std = import "std";
var print = std.print;
func main() {
match 2 {
1 -> { print("One") }
2 -> { print("Two") }
}
}