summaryrefslogtreecommitdiff
path: root/testsuite/tests/simplCore/should_compile/T22097.stderr
blob: f2ff31a7bf4e0d4c8b634a6a95d73c3d1690282a (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
[1 of 2] Compiling T22097a          ( T22097a.hs, T22097a.o )
[2 of 2] Compiling T22097           ( T22097.hs, T22097.o )

==================== Tidy Core ====================
Result size of Tidy Core
  = {terms: 15, types: 14, coercions: 3, joins: 0/0}

-- RHS size: {terms: 5, types: 1, coercions: 0, joins: 0/0}
T22097.main2 :: String
[GblId,
 Unf=Unf{Src=<vanilla>, TopLvl=True, Value=False, ConLike=False,
         WorkFree=False, Expandable=False, Guidance=IF_ARGS [] 30 0}]
T22097.main2
  = case T22097a.$wgoEven 10# of { (# #) -> GHC.Show.$fShowBool4 }

-- RHS size: {terms: 6, types: 2, coercions: 0, joins: 0/0}
T22097.main1
  :: GHC.Prim.State# GHC.Prim.RealWorld
     -> (# GHC.Prim.State# GHC.Prim.RealWorld, () #)
[GblId,
 Arity=1,
 Str=<L>,
 Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
         WorkFree=True, Expandable=True, Guidance=IF_ARGS [0] 40 0}]
T22097.main1
  = \ (eta [OS=OneShot] :: GHC.Prim.State# GHC.Prim.RealWorld) ->
      GHC.IO.Handle.Text.hPutStr2
        GHC.IO.Handle.FD.stdout T22097.main2 GHC.Types.True eta

-- RHS size: {terms: 1, types: 0, coercions: 3, joins: 0/0}
main :: IO ()
[GblId,
 Arity=1,
 Str=<L>,
 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)}]
main
  = T22097.main1
    `cast` (Sym (GHC.Types.N:IO[0] <()>_R)
            :: (GHC.Prim.State# GHC.Prim.RealWorld
                -> (# GHC.Prim.State# GHC.Prim.RealWorld, () #))
               ~R# IO ())