repositories
/
cc1516.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed annote
[cc1516.git]
/
examples
/
StmtEx.spl
diff --git
a/examples/StmtEx.spl
b/examples/StmtEx.spl
index
ef8cb88
..
192eca1
100644
(file)
--- a/
examples/StmtEx.spl
+++ b/
examples/StmtEx.spl
@@
-5,6
+5,7
@@
Int a = facR(4);
//Int b = test(3);
var f = beep();
var n = True;
+var l = 1:2:[];
facR(n) :: Int -> Int {
test(3);
@@
-18,6
+19,10
@@
facR(n) :: Int -> Int {
test(e) :: Int -> Bool {
var i = 0;
+ i = 1;
+ l.tl = 4:[];
+ l.tl.hd = 3;
+ //l= 1:3:[]
facR(z);
while (e < 3) {
return True;