X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=examples%2Ftest.spl;h=bdcb0edb0b1566a6bf9bb78aeff8d8dc069a5951;hb=b76ab64a1088a8d2fcf1b107d726403269be6468;hp=e6a7f05f6efc6101c55bcca32074d16ee131393b;hpb=0e3e968f772d6befb4dbe05f864caae4af84ea62;p=cc1516.git diff --git a/examples/test.spl b/examples/test.spl index e6a7f05..bdcb0ed 100644 --- a/examples/test.spl +++ b/examples/test.spl @@ -1,6 +1,10 @@ Bool n = True; +test(x) { + return f(x); +} f(n) :: Int -> Int{ var m = n+1; return n; } +