ludus/hello.ld
2022-04-04 19:07:54 -04:00

8 lines
126 B
Plaintext

fn explode_if_ten {
(10) -> panic! ("That was ten")
(x) -> print ("Ok, not ten!")
}
explode_if_ten (8)
explode_if_ten (10)