repositories
/
cc1516.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added default functions, isEmpty does not typecheck...
[cc1516.git]
/
examples
/
test.spl
diff --git
a/examples/test.spl
b/examples/test.spl
index
e6a7f05
..
199cb26
100644
(file)
--- a/
examples/test.spl
+++ b/
examples/test.spl
@@
-1,6
+1,7
@@
-Bool n = True;
-
-f(n) :: Int -> Int{
-
var m = n+1
;
-
return n
;
+test() {
+ var x = 5;
+ var y = 6;
+
x = x + y
;
+
return y
;
}
+main() {return;}
\ No newline at end of file