lean4-htt/tests/lean/run/struct_instance_in_eqn.lean
Sebastian Ullrich 3ed67138d5 chore(*): update equation syntax in files and old parser
for f in ../../**/*.lean; do echo $f; ./patch.lean.out $f > tmp && cat tmp > $f; done
2019-08-09 11:11:34 +02:00

7 lines
152 B
Text

structure S :=
(x : Nat) (y : Bool) (z : Nat) (w : Nat)
set_option trace.compiler.stage1 true
def g : S → S
| s@{ x := x, ..} => { x := x + 1, ..s}