repositories
/
cc1516.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of https://github.com/dopefishh/cc1516
[cc1516.git]
/
examples
/
test.spl
diff --git
a/examples/test.spl
b/examples/test.spl
index
bdcb0ed
..
199cb26
100644
(file)
--- a/
examples/test.spl
+++ b/
examples/test.spl
@@
-1,10
+1,7
@@
-Bool n = True;
-
-test(x) {
- return f(x);
+test() {
+ var x = 5;
+ var y = 6;
+ x = x + y;
+ return y;
}
}
-f(n) :: Int -> Int{
- var m = n+1;
- return n;
-}
-
+main() {return;}
\ No newline at end of file