aboutsummaryrefslogtreecommitdiff
path: root/src/Util/Tactics/ChangeInAll.v
diff options
context:
space:
mode:
Diffstat (limited to 'src/Util/Tactics/ChangeInAll.v')
-rw-r--r--src/Util/Tactics/ChangeInAll.v4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Util/Tactics/ChangeInAll.v b/src/Util/Tactics/ChangeInAll.v
index 39a031207..c18055962 100644
--- a/src/Util/Tactics/ChangeInAll.v
+++ b/src/Util/Tactics/ChangeInAll.v
@@ -5,3 +5,7 @@ Ltac change_in_all from to :=
repeat match goal with
| [ H : _ |- _ ] => progress change from with to in H
end.
+
+Ltac change_with_compute_in_all c :=
+ let c' := (eval compute in c) in
+ change c with c' in *.