lean2/tests/lean/whnf.lean
2014-12-23 17:42:56 -08:00

8 lines
124 B
Text

open nat
eval [whnf] (fun x, x + 1) 2
eval (fun x, x + 1) 2
variable a : nat
eval [whnf] a + succ zero
eval a + succ zero