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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
==================== Tidy Core ====================
Result size of Tidy Core
= {terms: 67, types: 31, coercions: 0, joins: 0/1}
-- RHS size: {terms: 10, types: 8, coercions: 0, joins: 0/1}
f :: Int -> (T, (T, T))
[GblId,
Arity=1,
Str=<L>,
Cpr=1,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [0] 40 10}]
f = \ (x :: Int) ->
let {
y :: T
[LclId, Unf=OtherCon []]
y = T20125.MkT x x } in
(y, (y, y))
-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
T20125.$trModule4 :: GHC.Prim.Addr#
[GblId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 20 0}]
T20125.$trModule4 = "main"#
-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
T20125.$trModule3 :: GHC.Types.TrName
[GblId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 10}]
T20125.$trModule3 = GHC.Types.TrNameS T20125.$trModule4
-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
T20125.$trModule2 :: GHC.Prim.Addr#
[GblId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 30 0}]
T20125.$trModule2 = "T20125"#
-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
T20125.$trModule1 :: GHC.Types.TrName
[GblId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 10}]
T20125.$trModule1 = GHC.Types.TrNameS T20125.$trModule2
-- RHS size: {terms: 3, types: 0, coercions: 0, joins: 0/0}
T20125.$trModule :: GHC.Types.Module
[GblId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 10}]
T20125.$trModule
= GHC.Types.Module T20125.$trModule3 T20125.$trModule1
-- RHS size: {terms: 3, types: 1, coercions: 0, joins: 0/0}
$krep :: GHC.Types.KindRep
[GblId, Unf=OtherCon []]
$krep
= GHC.Types.KindRepTyConApp
GHC.Types.$tcInt (GHC.Types.[] @GHC.Types.KindRep)
-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
T20125.$tcT2 :: GHC.Prim.Addr#
[GblId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 20 0}]
T20125.$tcT2 = "T"#
-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
T20125.$tcT1 :: GHC.Types.TrName
[GblId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 10}]
T20125.$tcT1 = GHC.Types.TrNameS T20125.$tcT2
-- RHS size: {terms: 7, types: 0, coercions: 0, joins: 0/0}
T20125.$tcT :: GHC.Types.TyCon
[GblId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 10}]
T20125.$tcT
= GHC.Types.TyCon
2636760236657926773##
9933143121152832090##
T20125.$trModule
T20125.$tcT1
0#
GHC.Types.krep$*
-- RHS size: {terms: 3, types: 1, coercions: 0, joins: 0/0}
$krep1 :: GHC.Types.KindRep
[GblId, Unf=OtherCon []]
$krep1
= GHC.Types.KindRepTyConApp
T20125.$tcT (GHC.Types.[] @GHC.Types.KindRep)
-- RHS size: {terms: 3, types: 0, coercions: 0, joins: 0/0}
$krep2 :: GHC.Types.KindRep
[GblId, Unf=OtherCon []]
$krep2 = GHC.Types.KindRepFun $krep $krep1
-- RHS size: {terms: 3, types: 0, coercions: 0, joins: 0/0}
T20125.$tc'MkT1 [InlPrag=[~]] :: GHC.Types.KindRep
[GblId, Unf=OtherCon []]
T20125.$tc'MkT1 = GHC.Types.KindRepFun $krep $krep2
-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
T20125.$tc'MkT3 :: GHC.Prim.Addr#
[GblId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 20 0}]
T20125.$tc'MkT3 = "'MkT"#
-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
T20125.$tc'MkT2 :: GHC.Types.TrName
[GblId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 10}]
T20125.$tc'MkT2 = GHC.Types.TrNameS T20125.$tc'MkT3
-- RHS size: {terms: 7, types: 0, coercions: 0, joins: 0/0}
T20125.$tc'MkT :: GHC.Types.TyCon
[GblId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 10}]
T20125.$tc'MkT
= GHC.Types.TyCon
16774178122498486797##
3923705917114679617##
T20125.$trModule
T20125.$tc'MkT2
0#
T20125.$tc'MkT1
|