lean2/tests/lean/run/opaque_hint_bug.lean
Leonardo de Moura 501cae37e5 fix(frontends/lean/parser): bug in check_constant_next (when invoked inside of a section)
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-07-29 13:04:58 -07:00

16 lines
No EOL
241 B
Text

inductive list (T : Type) : Type :=
| nil {} : list T
| cons : T → list T → list T
section
variable {T : Type}
definition concat (s t : list T) : list T
:= list_rec t (fun x l u, cons x u) s
opaque_hint (hiding concat)
end