X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=examples%2FStmtEx.spl;h=35ff0966251c1e93a83e1f5a8722ed620324707b;hb=4d2ac25a8c57caa5b68770b22a784c30fe0a794d;hp=1e1d4fe89930ce26f256821d809f9c0d29488881;hpb=3bf5967ddf63e4d616d7ffd905151a1cbd71eeef;p=cc1516.git diff --git a/examples/StmtEx.spl b/examples/StmtEx.spl index 1e1d4fe..35ff096 100644 --- a/examples/StmtEx.spl +++ b/examples/StmtEx.spl @@ -3,6 +3,7 @@ var y = 3; var z = 3 + y; Int a = facR(4); //Int b = test(3); +var f = beep(); facR(n) :: Int -> Int { test(3); @@ -20,4 +21,12 @@ test(n) :: Int -> Int { while (z < 3) { return 3; } +} + +beep() { + boop(); +} + +boop() { + beep(); } \ No newline at end of file