mirror of
https://github.com/idris-lang/Idris2.git
synced 2025-01-03 00:55:00 +03:00
65 lines
1.5 KiB
Plaintext
65 lines
1.5 KiB
Plaintext
1/1: Building NatOpts (NatOpts.idr)
|
|
Main> Main.doPlus
|
|
Arguments [{arg:0}, {arg:1}]
|
|
Compile time tree: plus {arg:0} {arg:1}
|
|
Compiled: \ {arg:0}, {arg:1} => {arg:0} + {arg:1}
|
|
Refers to: Prelude.Types.plus
|
|
Flags: covering
|
|
Size change:
|
|
Prelude.Types.plus:
|
|
l 0 1
|
|
r +----
|
|
0 | =
|
|
1 | =
|
|
Main> Main.doMinus
|
|
Arguments [{arg:0}, {arg:1}]
|
|
Compile time tree: minus {arg:0} {arg:1}
|
|
Compiled: \ {arg:0}, {arg:1} => Prelude.Types.prim__integerToNat ({arg:0} - {arg:1})
|
|
Refers to: Prelude.Types.minus
|
|
Refers to (runtime): Prelude.Types.prim__integerToNat
|
|
Flags: covering
|
|
Size change:
|
|
Prelude.Types.minus:
|
|
l 0 1
|
|
r +----
|
|
0 | =
|
|
1 | =
|
|
Main> Main.doMult
|
|
Arguments [{arg:0}, {arg:1}]
|
|
Compile time tree: mult {arg:0} {arg:1}
|
|
Compiled: \ {arg:0}, {arg:1} => {arg:0} * {arg:1}
|
|
Refers to: Prelude.Types.mult
|
|
Flags: covering
|
|
Size change:
|
|
Prelude.Types.mult:
|
|
l 0 1
|
|
r +----
|
|
0 | =
|
|
1 | =
|
|
Main> Main.doCompare
|
|
Arguments [{arg:0}, {arg:1}]
|
|
Compile time tree: compareNat {arg:0} {arg:1}
|
|
Compiled: \ {arg:0}, {arg:1} => Prelude.EqOrd.compare {arg:0} {arg:1}
|
|
Refers to: Prelude.Types.compareNat
|
|
Refers to (runtime): Prelude.EqOrd.compare
|
|
Flags: covering
|
|
Size change:
|
|
Prelude.Types.compareNat:
|
|
l 0 1
|
|
r +----
|
|
0 | =
|
|
1 | =
|
|
Main> Main.doEqual
|
|
Arguments [{arg:0}, {arg:1}]
|
|
Compile time tree: equalNat {arg:0} {arg:1}
|
|
Compiled: \ {arg:0}, {arg:1} => {arg:0} == {arg:1}
|
|
Refers to: Prelude.Types.equalNat
|
|
Flags: covering
|
|
Size change:
|
|
Prelude.Types.equalNat:
|
|
l 0 1
|
|
r +----
|
|
0 | =
|
|
1 | =
|
|
Main> Bye for now!
|