X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=examples%2Ftest.spl;h=85acc01047b51343f6d7fe31d668bb7d6b4c96eb;hb=e33962666f8af6a34432d57180eb322f4543eb78;hp=b33297c27ab6cf667195cf836cc9a579e58bafcc;hpb=0f420d3c45aa26b770bf2bda3588ffcc2ed574cf;p=cc1516.git diff --git a/examples/test.spl b/examples/test.spl index b33297c..85acc01 100644 --- a/examples/test.spl +++ b/examples/test.spl @@ -1,15 +1,3 @@ -Bool n = True; - -test(x) :: Int -> Int { - var y = test(x+1); - return y; -} - -f(n) :: Int -> Int{ - var m = n+1; - return n; -} - -test2(x) { - return f(x); +main(){ + var a = "hello world"; }