}
}
+test() {
+ var x =print(5);
+ var f = read;
+ var y = read();
+ print(True);
+ print('a');
+ print('h' : 'o' : 'i' : []);
+}
+
main() {
- [Int] x1 = 1 : 2 : [];
- [Int] x2 = 0 : x1;
- [Int] x3 = [];
- //Bool y1 = isEmpty(x2); //gives weird type error, not sure why
- isEmpty(x2);
+ // [Int] x2 = 0 : x1;
+ // [Int] x3 = [];
+ // (Int, Bool) x4 = (4, True);
+ // //Bool y1 = isEmpty(x2); //gives weird type error, not sure why
+// isEmpty(x2);
+ [Int] x1 = 8 : 2 : [];
+ (Bool, Int) z = (True, 2);
+ var y = z.fst;
+ var x = (True, 5) : (False,0) : [];
+ var sdaf = isE(x1);
+ var z = isEmpty(x1);
+ //char c = read();
+ x.hd.snd = 8;
+ isE(x1);
+ print(4);
return;
}