1
1
Fork 0
mirror of https://github.com/azur1s/bobbylisp.git synced 2024-10-16 02:37:40 -05:00
bobbylisp/example/case.hz
2022-03-19 09:53:33 +07:00

12 lines
217 B
Plaintext

fun main: void = do
let foo: int = 3;
case foo of
| 1 -> @write("One");
| 2 -> @write("Two");
| 3 -> do
@write("Three");
end;
\ @write("idk");
end;
end;