Debian Codegraph @

src/Util/Tactics/PoseTermWithName.v

raw
1 Ltac pose_term_with tac name :=
2 let name := fresh name in
3 let v := tac () in
4 let dummy := match goal with
5 | _ => pose v as name
6 end in
7 name.
8
9 Ltac pose_term_with_type type tac name :=
10 pose_term_with ltac:(fun u => let v := tac u in constr:(v : type)) name.