rhea/assets/examples/match.rhea
2023-09-21 12:42:13 -05:00

10 lines
195 B
Plaintext

var std = import "std";
var print = std.print;
func main() {
match 2 {
1 -> { print("One") }
2 -> { print("Two") }
// If there is not a matching case continue
}
}