summaryrefslogtreecommitdiff
path: root/testsuite/tests/arityanal/should_compile/Arity10.stderr
blob: 3c527026eca5c2ba25e2c8fb721e5332aa28579a (plain)
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

==================== Tidy Core ====================
Result size of Tidy Core = {terms: 28, types: 34, coercions: 0, joins: 0/0}

-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
F10.f10f3 :: Integer
[GblId, Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True, WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 100 0}]
F10.f10f3 = 1

-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
F10.f10f2 :: Integer
[GblId, Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True, WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 100 0}]
F10.f10f2 = 2

-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
F10.f10f1 :: Integer
[GblId, Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True, WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 100 0}]
F10.f10f1 = 3

-- RHS size: {terms: 8, types: 8, coercions: 0, joins: 0/0}
f10f :: forall {a}. (Integer -> Integer -> a) -> (a, Integer -> a)
[GblId,
 Arity=1,
 Str=<L,C(U)>,
 Cpr=m1,
 Unf=Unf{Src=InlineStable, TopLvl=True, Value=True, ConLike=True, WorkFree=True, Expandable=True, Guidance=ALWAYS_IF(arity=1,unsat_ok=True,boring_ok=False)
         Tmpl= \ (@a) (h :: Integer -> Integer -> a) -> (h F10.f10f3 F10.f10f2, h F10.f10f1)}]
f10f = \ (@a) (h :: Integer -> Integer -> a) -> (h F10.f10f3 F10.f10f2, h F10.f10f1)

-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
f10g :: Integer -> Integer -> Integer
[GblId,
 Arity=2,
 Str=<S,1*U><S,U>,
 Unf=Unf{Src=InlineStable, TopLvl=True, Value=True, ConLike=True, WorkFree=True, Expandable=True, Guidance=ALWAYS_IF(arity=0,unsat_ok=True,boring_ok=True)
         Tmpl= GHC.Num.Integer.integerAdd}]
f10g = GHC.Num.Integer.integerAdd

-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
f10x1 :: Integer
[GblId, Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True, WorkFree=True, Expandable=True, Guidance=ALWAYS_IF(arity=0,unsat_ok=True,boring_ok=True)}]
f10x1 = F10.f10f1

-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
f10x2 :: Integer -> Integer
[GblId,
 Arity=1,
 Str=<S,U>,
 Unf=Unf{Src=InlineStable, TopLvl=True, Value=True, ConLike=True, WorkFree=True, Expandable=True, Guidance=ALWAYS_IF(arity=0,unsat_ok=True,boring_ok=False)
         Tmpl= \ (eta [Occ=Once1] :: Integer) -> GHC.Num.Integer.integerAdd F10.f10f1 eta}]
f10x2 = GHC.Num.Integer.integerAdd F10.f10f1

-- RHS size: {terms: 3, types: 3, coercions: 0, joins: 0/0}
f10h :: (Integer, Integer -> Integer)
[GblId, Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True, WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 10}]
f10h = (F10.f10f1, f10x2)

-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
f10 :: Integer
[GblId, Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True, WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 100 0}]
f10 = 6