2022-01-21 13:26:20 +03:00
|
|
|
1/1: Building Inlining (Inlining.idr)
|
2022-03-18 11:45:18 +03:00
|
|
|
Main> Main.leaveAlone
|
|
|
|
Arguments [{arg:0}]
|
2022-04-29 14:52:23 +03:00
|
|
|
Compile time tree: {arg:0} ++ "!"
|
|
|
|
Compiled: \ {arg:0} => {arg:0} ++ "!"
|
2022-03-18 11:45:18 +03:00
|
|
|
Refers to: Prelude.Types.String.(++)
|
|
|
|
Flags: covering
|
2023-10-17 21:09:18 +03:00
|
|
|
Size change:
|
|
|
|
Prelude.Types.String.(++):
|
2023-11-02 14:06:27 +03:00
|
|
|
l 0
|
|
|
|
r +--
|
|
|
|
0 | =
|
2022-03-18 11:45:18 +03:00
|
|
|
Main> Main.forceInline
|
|
|
|
Arguments [{arg:0}]
|
2022-04-29 14:52:23 +03:00
|
|
|
Compile time tree: {arg:0} + 10
|
|
|
|
Compiled: \ {arg:0} => {arg:0} + 10
|
2022-03-18 11:45:18 +03:00
|
|
|
Refers to: Prelude.Types.Num implementation at Prelude.Types:66:1--71:33, Prelude.Types.Z, Prelude.Types.S, Prelude.Types.Nat, Prelude.Num.(+)
|
|
|
|
Flags: covering, inline
|
2023-10-17 21:09:18 +03:00
|
|
|
Size change:
|
|
|
|
Prelude.Num.(+):
|
2023-11-02 14:06:27 +03:00
|
|
|
l 0
|
|
|
|
r +--
|
|
|
|
2 | =
|
2023-10-17 21:09:18 +03:00
|
|
|
Prelude.Types.Num implementation at Prelude.Types:66:1--71:33:
|
2023-11-02 14:06:27 +03:00
|
|
|
l
|
|
|
|
r +
|
2022-03-18 11:45:18 +03:00
|
|
|
Main> Main.forceNoInline
|
|
|
|
Arguments []
|
2022-04-29 14:52:23 +03:00
|
|
|
Compile time tree: 10
|
2022-03-18 11:45:18 +03:00
|
|
|
Compiled: 10
|
|
|
|
Refers to: Prelude.Types.Z, Prelude.Types.S
|
|
|
|
Flags: allguarded, covering, noinline
|
2023-10-17 21:09:18 +03:00
|
|
|
Size change:
|
|
|
|
Prelude.Types.S:
|
2023-11-02 14:06:27 +03:00
|
|
|
l
|
|
|
|
r +
|
2023-10-17 21:09:18 +03:00
|
|
|
Prelude.Types.Z:
|
2023-11-02 14:06:27 +03:00
|
|
|
l
|
|
|
|
r +
|
2022-03-18 11:45:18 +03:00
|
|
|
Main> Main.heuristicPublicInline
|
|
|
|
Arguments []
|
2022-04-29 14:52:23 +03:00
|
|
|
Compile time tree: 2
|
2022-03-18 11:45:18 +03:00
|
|
|
Compiled: 2
|
|
|
|
Refers to: Prelude.Types.Z, Prelude.Types.S
|
|
|
|
Flags: inline, allguarded, covering
|
2023-10-17 21:09:18 +03:00
|
|
|
Size change:
|
|
|
|
Prelude.Types.S:
|
2023-11-02 14:06:27 +03:00
|
|
|
l
|
|
|
|
r +
|
2023-10-17 21:09:18 +03:00
|
|
|
Prelude.Types.Z:
|
2023-11-02 14:06:27 +03:00
|
|
|
l
|
|
|
|
r +
|
2022-03-18 11:45:18 +03:00
|
|
|
Main> Main.exportedForced
|
|
|
|
Arguments []
|
2022-04-29 14:52:23 +03:00
|
|
|
Compile time tree: 33
|
2022-03-18 11:45:18 +03:00
|
|
|
Compiled: 33
|
|
|
|
Refers to: Prelude.Types.Z, Prelude.Types.S
|
|
|
|
Flags: allguarded, covering, inline
|
2023-10-17 21:09:18 +03:00
|
|
|
Size change:
|
|
|
|
Prelude.Types.S:
|
2023-11-02 14:06:27 +03:00
|
|
|
l
|
|
|
|
r +
|
2023-10-17 21:09:18 +03:00
|
|
|
Prelude.Types.Z:
|
2023-11-02 14:06:27 +03:00
|
|
|
l
|
|
|
|
r +
|
2022-03-18 11:45:18 +03:00
|
|
|
Main> Main.exportedUnforced
|
|
|
|
Arguments []
|
2022-04-29 14:52:23 +03:00
|
|
|
Compile time tree: 66
|
2022-03-18 11:45:18 +03:00
|
|
|
Compiled: 66
|
|
|
|
Refers to: Prelude.Types.Z, Prelude.Types.S
|
|
|
|
Flags: allguarded, covering
|
2023-10-17 21:09:18 +03:00
|
|
|
Size change:
|
|
|
|
Prelude.Types.S:
|
2023-11-02 14:06:27 +03:00
|
|
|
l
|
|
|
|
r +
|
2023-10-17 21:09:18 +03:00
|
|
|
Prelude.Types.Z:
|
2023-11-02 14:06:27 +03:00
|
|
|
l
|
|
|
|
r +
|
2022-01-21 13:26:20 +03:00
|
|
|
Main> Bye for now!
|