repositories
/
ccc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
work on type inference some more
[ccc.git]
/
input.txt
1
var x = 5 == 5;
2
var y = x;
3
fun(x){
4
var x = 5;
5
Int y = 6;
6
6;
7
x.fst = 5;
8
6;
9
if(true){5;}else{5;}
10
'\t';
11
'\'';
12
'\\';
13
'\x01';
14
'\xaa';
15
"abr";
16
"a\br";
17
"a\br\"";
18
"a\xaar\\\0377\01\xa";
19
Int b = 5;
20
while(true) {
21
Bool b = true;
22
var l = [];
23
5;
24
}
25
return 5;
26
f();
27
f(x); f(1, 2, []);
28
y = 5+x.fst.snd;
29
}
30
fun(x) :: Int Bool -> Int {
31
}
32
fun(x) :: -> Void {
33
}
34
fun(x) :: /* abc */ a b c [a] ([a], b) -> Void {
35
}
36
/* abc */
37
/*
38
*/
39
//abc
40
var y = 0;
41
//blurp