diff --git a/hello.ld b/hello.ld index 69234bd..8c950ba 100644 --- a/hello.ld +++ b/hello.ld @@ -1 +1,8 @@ -"Hello, world." \ No newline at end of file +fn explode_if_ten { + (10) -> panic! ("That was ten") + (x) -> print ("Ok, not ten!") +} + +explode_if_ten (8) + +explode_if_ten (10) \ No newline at end of file