lean4-htt/tests/lean/elab13.lean
Leonardo de Moura 8993d0738a feat(frontends/lean): remove #elab command
The check command is now using the new elaborator.
2016-08-02 15:05:24 -07:00

13 lines
252 B
Text

open tactic list
check
take c : name,
(
do {
env ← get_env,
decl ← returnex (environment.get env c),
num ← return (length (declaration.univ_params decl)),
ls ← mk_num_meta_univs 2,
return (expr.const c ls)
} : tactic expr)