testfiles
[cc1516.git] / examples / tempTest.spl
1 mapP1(xs) {
2 if(isEmpty(xs)) {
3 return [];
4 } else {
5 return (xs.hd + 1) : mapP1(xs.tl);
6 }
7 }
8 empt() {
9
10 }
11 main() {
12 [Int] x = [];
13 [Int] y = [];
14 x = mapP1(x);
15 y = mapP1(x);
16 return;
17 }