Idris2/tests/idris2/reflection/reflection002/expected

9 lines
219 B
Plaintext
Raw Normal View History

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!