Skip to content
Snippets Groups Projects

add get_head tactic and use it in solve_proper_unfold

Merged Ralf Jung requested to merge ralf/get_head into master
All threads resolved!
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -239,7 +239,7 @@ Ltac mk_evar T :=
e'.
(** The tactic [get_head t] returns the head function [f] when [t] is of the
shape [f a1 ... aN]. *)
shape [f a1 ... aN]. This is purely syntactic, no unification is performed. *)
Ltac get_head e :=
lazymatch e with
| ?h _ => get_head h
Loading