, Core:
f1 :: Int -> Int
f1 = \x -> x + 2
{-
f2 :: Int -> Int
f2 x = x + 2
{-
, ghc test.hs -ddump-simpl. :
f1_rjG :: Int -> Int
[GblId, Arity=1, Str=DmdType]
f1_rjG =
\ (x_alH :: Int) -> + @ Int GHC.Num.$fNumInt x_alH (GHC.Types.I
f2_rlx :: Int -> Int
[GblId, Arity=1, Str=DmdType]
f2_rlx =
\ (x_amG :: Int) -> + @ Int GHC.Num.$fNumInt x_amG (GHC.Types.I
, , : .
, , , .