aboutsummaryrefslogtreecommitdiffhomepage
path: root/tactics/elim.ml
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2016-11-12 01:52:15 +0100
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2017-02-14 17:28:48 +0100
commit771be16883c8c47828f278ce49545716918764c4 (patch)
treef3c0427596d447677c54c23455fcfbe7e3337b49 /tactics/elim.ml
parent45562afa065aadc207dca4e904e309d835cb66ef (diff)
Hipattern API using EConstr.
Diffstat (limited to 'tactics/elim.ml')
-rw-r--r--tactics/elim.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tactics/elim.ml b/tactics/elim.ml
index fe36085b8..d00e504ff 100644
--- a/tactics/elim.ml
+++ b/tactics/elim.ml
@@ -108,12 +108,12 @@ let decompose_these c l =
let decompose_and c =
general_decompose
- (fun sigma (_,t) -> is_record sigma t)
+ (fun sigma (_,t) -> is_record sigma (EConstr.of_constr t))
c
let decompose_or c =
general_decompose
- (fun sigma (_,t) -> is_disjunction sigma t)
+ (fun sigma (_,t) -> is_disjunction sigma (EConstr.of_constr t))
c
let h_decompose l c = decompose_these c l