T7116.stdout 3.19 KB
Newer Older
1 2

==================== Tidy Core ====================
3 4 5
Result size of Tidy Core = {terms: 32, types: 17, coercions: 0}

-- RHS size: {terms: 2, types: 0, coercions: 0}
6
T7116.$trModule2 :: GHC.Types.TrName
7 8 9 10 11
[GblId,
 Caf=NoCafRefs,
 Str=DmdType m1,
 Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
         WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 30 20}]
12
T7116.$trModule2 = GHC.Types.TrNameS "main"#
13 14

-- RHS size: {terms: 2, types: 0, coercions: 0}
15
T7116.$trModule1 :: GHC.Types.TrName
16 17 18 19 20
[GblId,
 Caf=NoCafRefs,
 Str=DmdType m1,
 Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
         WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 40 20}]
21
T7116.$trModule1 = GHC.Types.TrNameS "T7116"#
22 23

-- RHS size: {terms: 3, types: 0, coercions: 0}
24
T7116.$trModule :: GHC.Types.Module
25
[GblId,
26 27 28 29
 Caf=NoCafRefs,
 Str=DmdType m,
 Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
         WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
30 31
T7116.$trModule =
  GHC.Types.Module T7116.$trModule2 T7116.$trModule1
32 33 34 35 36 37

-- RHS size: {terms: 8, types: 3, coercions: 0}
dr :: Double -> Double
[GblId,
 Arity=1,
 Caf=NoCafRefs,
38
 Str=DmdType <S(S),1*U(U)>m,
39 40 41 42
 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= \ (x [Occ=Once!] :: Double) ->
43 44 45
                 case x of _ [Occ=Dead] { GHC.Types.D# x1 ->
                 GHC.Types.D# (GHC.Prim.+## x1 x1)
                 }}]
46 47
dr =
  \ (x :: Double) ->
48 49 50
    case x of _ [Occ=Dead] { GHC.Types.D# x1 ->
    GHC.Types.D# (GHC.Prim.+## x1 x1)
    }
51 52 53 54 55 56

-- RHS size: {terms: 1, types: 0, coercions: 0}
dl :: Double -> Double
[GblId,
 Arity=1,
 Caf=NoCafRefs,
57
 Str=DmdType <S(S),1*U(U)>m,
58 59 60 61
 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= \ (x [Occ=Once!] :: Double) ->
62 63 64
                 case x of _ [Occ=Dead] { GHC.Types.D# y ->
                 GHC.Types.D# (GHC.Prim.+## y y)
                 }}]
65 66 67 68 69 70 71
dl = dr

-- RHS size: {terms: 8, types: 3, coercions: 0}
fr :: Float -> Float
[GblId,
 Arity=1,
 Caf=NoCafRefs,
72
 Str=DmdType <S(S),1*U(U)>m,
73 74 75 76
 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= \ (x [Occ=Once!] :: Float) ->
77 78 79
                 case x of _ [Occ=Dead] { GHC.Types.F# x1 ->
                 GHC.Types.F# (GHC.Prim.plusFloat# x1 x1)
                 }}]
80 81
fr =
  \ (x :: Float) ->
82 83 84
    case x of _ [Occ=Dead] { GHC.Types.F# x1 ->
    GHC.Types.F# (GHC.Prim.plusFloat# x1 x1)
    }
85 86 87 88 89 90

-- RHS size: {terms: 1, types: 0, coercions: 0}
fl :: Float -> Float
[GblId,
 Arity=1,
 Caf=NoCafRefs,
91
 Str=DmdType <S(S),1*U(U)>m,
92 93 94 95
 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= \ (x [Occ=Once!] :: Float) ->
96 97 98
                 case x of _ [Occ=Dead] { GHC.Types.F# y ->
                 GHC.Types.F# (GHC.Prim.plusFloat# y y)
                 }}]
99 100 101 102
fl = fr