rhea/assets/examples/match.rhea
2023-10-03 00:16:27 +02: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
}
}