aboutsummaryrefslogtreecommitdiff
path: root/src/Util/LetIn.v
diff options
context:
space:
mode:
Diffstat (limited to 'src/Util/LetIn.v')
-rw-r--r--src/Util/LetIn.v4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Util/LetIn.v b/src/Util/LetIn.v
index 366ae5dff..db09baf9c 100644
--- a/src/Util/LetIn.v
+++ b/src/Util/LetIn.v
@@ -8,6 +8,10 @@ Definition Let_In_pf {A P} (x : A) (f : forall a : A, a = x -> P a) : P x := let
Notation "'dlet' x := y 'in' f" := (Let_In y (fun x => f)).
Notation "'pflet' x , pf := y 'in' f" := (Let_In_pf y (fun x pf => f)).
+Module Bug5107WorkAround.
+ Notation "'dlet' x := y 'in' f" := (Let_In (P:=fun _ => _) y (fun x => f)).
+End Bug5107WorkAround.
+
Global Instance Proper_Let_In_nd_changebody {A P R} {Reflexive_R:@Reflexive P R}
: Proper (eq ==> pointwise_relation _ R ==> R) (@Let_In A (fun _ => P)).
Proof. lazy; intros; subst; auto; congruence. Qed.