lean2/tests/lean/whnf.lean

10 lines
146 B
Text
Raw Normal View History

import data.nat.basic
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