summaryrefslogtreecommitdiff
path: root/testsuite/tests/arityanal/should_compile/Arity07.stderr
blob: 3a1852e0178d225fb379f7c91f8229e8a82f2e2d (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

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

-- RHS size: {terms: 3, types: 3, coercions: 0, joins: 0/0}
f7f :: forall {p}. p -> p
[GblId,
 Arity=1,
 Str=<S,1*U>,
 Unf=Unf{Src=InlineStable, TopLvl=True, Value=True, ConLike=True, WorkFree=True, Expandable=True, Guidance=ALWAYS_IF(arity=1,unsat_ok=True,boring_ok=True)
         Tmpl= \ (@p) (x [Occ=Once1] :: p) -> x}]
f7f = \ (@p) (x :: p) -> x

-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
f7g :: 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}]
f7g = GHC.Num.Integer.integerAdd

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