Idris2/tests/idris2/reflection/reflection002/expected
2023-09-07 14:57:22 +01:00

9 lines
219 B
Plaintext

1/1: Building power (power.idr)
Main> Main.cube : Nat -> Nat
cube = \x => mult x (mult x (mult x (const 1 x)))
Main> 27
Main> Main.cube' : Nat -> Nat
cube' = \x => mult (mult (plus x 0) x) x
Main> 27
Main> Bye for now!