[1 of 1] Compiling Main ( digitsV2.hs, digitsV2.o ) ==================== Tidy Core ==================== Result size of Tidy Core = {terms: 57, types: 64, coercions: 12} lvl_r1xl :: Integer [GblId, Caf=NoCafRefs, Str=DmdType] lvl_r1xl = __integer 10 Rec { Main.$wgo [InlPrag=[0], Occ=LoopBreaker] :: Integer -> [Int] -> (# Int, [Int] #) [GblId, Arity=2, Str=DmdType ] Main.$wgo = \ (w_s1wh :: Integer) (w1_s1wi :: [Int]) -> case integer-gmp-1.0.0.0:GHC.Integer.Type.ltInteger# w_s1wh lvl_r1xl of wild_a1dp { __DEFAULT -> case GHC.Prim.tagToEnum# @ Bool wild_a1dp of _ [Occ=Dead] { False -> case integer-gmp-1.0.0.0:GHC.Integer.Type.quotRemInteger w_s1wh lvl_r1xl of _ [Occ=Dead] { (# ipv_a1dB, ipv1_a1dC #) -> Main.$wgo ipv_a1dB (GHC.Types.: @ Int (case integer-gmp-1.0.0.0:GHC.Integer.Type.integerToInt ipv1_a1dC of wild2_a1ea { __DEFAULT -> GHC.Types.I# wild2_a1ea }) w1_s1wi) }; True -> (# GHC.Num.$fNumInt_$cfromInteger w_s1wh, w1_s1wi #) } } end Rec } Main.main3 :: Integer [GblId, Caf=NoCafRefs, Str=DmdType, Unf=Unf{Src=, TopLvl=True, Value=True, ConLike=True, WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 100 0}] Main.main3 = __integer 1 Main.main2 :: [Int] [GblId, Str=DmdType, Unf=Unf{Src=, TopLvl=True, Value=False, ConLike=False, WorkFree=False, Expandable=False, Guidance=IF_ARGS [] 50 30}] Main.main2 = case Main.$wgo Main.main3 (GHC.Types.[] @ Int) of _ [Occ=Dead] { (# ww1_s1wo, ww2_s1wp #) -> GHC.Types.: @ Int ww1_s1wo ww2_s1wp } Main.main1 :: GHC.Prim.State# GHC.Prim.RealWorld -> (# GHC.Prim.State# GHC.Prim.RealWorld, [Int] #) [GblId, Arity=1, Str=DmdType , Unf=Unf{Src=, TopLvl=True, Value=True, ConLike=True, WorkFree=True, Expandable=True, Guidance=ALWAYS_IF(arity=1,unsat_ok=True,boring_ok=True)}] Main.main1 = \ (s_a1eo [OS=OneShot] :: GHC.Prim.State# GHC.Prim.RealWorld) -> (# s_a1eo, Main.main2 #) main :: IO [Int] [GblId, Arity=1, Str=DmdType , 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= Main.main1 `cast` (Sym (GHC.Types.NTCo:IO[0] <[Int]>_R) :: (GHC.Prim.State# GHC.Prim.RealWorld -> (# GHC.Prim.State# GHC.Prim.RealWorld, [Int] #)) ~R# IO [Int])}] main = Main.main1 `cast` (Sym (GHC.Types.NTCo:IO[0] <[Int]>_R) :: (GHC.Prim.State# GHC.Prim.RealWorld -> (# GHC.Prim.State# GHC.Prim.RealWorld, [Int] #)) ~R# IO [Int]) Main.main4 :: GHC.Prim.State# GHC.Prim.RealWorld -> (# GHC.Prim.State# GHC.Prim.RealWorld, [Int] #) [GblId, Arity=1, Str=DmdType, Unf=Unf{Src=, TopLvl=True, Value=True, ConLike=True, WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 20 60}] Main.main4 = GHC.TopHandler.runMainIO1 @ [Int] (Main.main1 `cast` (Sym (GHC.Types.NTCo:IO[0] <[Int]>_R) :: (GHC.Prim.State# GHC.Prim.RealWorld -> (# GHC.Prim.State# GHC.Prim.RealWorld, [Int] #)) ~R# IO [Int])) :Main.main :: IO [Int] [GblId, Arity=1, Str=DmdType, 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= Main.main4 `cast` (Sym (GHC.Types.NTCo:IO[0] <[Int]>_R) :: (GHC.Prim.State# GHC.Prim.RealWorld -> (# GHC.Prim.State# GHC.Prim.RealWorld, [Int] #)) ~R# IO [Int])}] :Main.main = Main.main4 `cast` (Sym (GHC.Types.NTCo:IO[0] <[Int]>_R) :: (GHC.Prim.State# GHC.Prim.RealWorld -> (# GHC.Prim.State# GHC.Prim.RealWorld, [Int] #)) ~R# IO [Int]) Linking digitsV2.exe ...