-
Notifications
You must be signed in to change notification settings - Fork 2
/
huge_elab2.txt
88 lines (88 loc) · 2.23 KB
/
huge_elab2.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
(((ann
(fn
[pair]
((ann
(fn
[f1]
((ann
(fn
[f2]
(ann
(fn [z] ((f2 (ann (fn [x] x) (IFn))) z))
[[(IFn) :-> [(IFn) :-> [Int :-> [Int :-> [Int :-> Int]]]]]
:->
[Int :-> [Int :-> [Int :-> Int]]]]))
[[(IFn)
:->
[[(IFn) :-> [(IFn) :-> [Int :-> [Int :-> [Int :-> Int]]]]]
:->
[Int :-> [Int :-> [Int :-> Int]]]]]
:->
[[(IFn) :-> [(IFn) :-> [Int :-> [Int :-> [Int :-> Int]]]]]
:->
[Int :-> [Int :-> [Int :-> Int]]]]])
(ann
(fn [x] (f1 (f1 x)))
[(IFn)
:->
[[(IFn) :-> [(IFn) :-> [Int :-> [Int :-> [Int :-> Int]]]]]
:->
[Int :-> [Int :-> [Int :-> Int]]]]])))
[(IFn
[(IFn) :-> (IFn)]
[(IFn)
:->
[[(IFn) :-> [(IFn) :-> [Int :-> [Int :-> [Int :-> Int]]]]]
:->
[Int :-> [Int :-> [Int :-> Int]]]]])
:->
[[(IFn) :-> [(IFn) :-> [Int :-> [Int :-> [Int :-> Int]]]]]
:->
[Int :-> [Int :-> [Int :-> Int]]]]])
(ann
(fn [x] (pair x))
(IFn
[(IFn) :-> (IFn)]
[(IFn)
:->
[[(IFn) :-> [(IFn) :-> [Int :-> [Int :-> [Int :-> Int]]]]]
:->
[Int :-> [Int :-> [Int :-> Int]]]]]))))
[(IFn
[(IFn) :-> (IFn)]
[(IFn)
:->
[[(IFn) :-> [(IFn) :-> [Int :-> [Int :-> [Int :-> Int]]]]]
:->
[Int :-> [Int :-> [Int :-> Int]]]]])
:->
[[(IFn) :-> [(IFn) :-> [Int :-> [Int :-> [Int :-> Int]]]]]
:->
[Int :-> [Int :-> [Int :-> Int]]]]])
(ann
(fn
[x]
(ann
(fn [f] ((f x) x))
(EnclosingFnCase
0
[(IFn) :-> Any]
(IFn)
[(IFn) :-> Any]
[[(IFn) :-> [(IFn) :-> [Int :-> [Int :-> [Int :-> Int]]]]]
:->
[Int :-> [Int :-> [Int :-> Int]]]])))
(IFn
[(IFn) :-> (IFn)]
[(IFn)
:->
[[(IFn) :-> [(IFn) :-> [Int :-> [Int :-> [Int :-> Int]]]]]
:->
[Int :-> [Int :-> [Int :-> Int]]]]])))
(ann
(fn
[x]
(ann
(fn [y] (fn [x'] (fn [y'] (fn [i] i))))
[(IFn) :-> [Int :-> [Int :-> [Int :-> Int]]]]))
[(IFn) :-> [(IFn) :-> [Int :-> [Int :-> [Int :-> Int]]]]]))