diff options
| author | Pierre-Marie Pédrot | 2021-04-17 20:08:36 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2021-04-17 20:11:06 +0200 |
| commit | e27fdd18cdfd8424d19058a3b59256219d111733 (patch) | |
| tree | 2b821d8864bbf074483f8c0568ed56c1dc60c884 /user-contrib/Ltac2 | |
| parent | f337187f0ac4c2062031225234fd23b436b979b5 (diff) | |
Uniformize the name of the Ltac2 boolean equality function.
All other equality functions are called "equal" but this one was called "eq".
We add a deprecated alias for backward compatibility.
Diffstat (limited to 'user-contrib/Ltac2')
| -rw-r--r-- | user-contrib/Ltac2/Bool.v | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/user-contrib/Ltac2/Bool.v b/user-contrib/Ltac2/Bool.v index 624097728e..b201574808 100644 --- a/user-contrib/Ltac2/Bool.v +++ b/user-contrib/Ltac2/Bool.v @@ -48,7 +48,7 @@ Ltac2 xor x y := end end. -Ltac2 eq x y := +Ltac2 equal x y := match x with | true => match y with @@ -61,3 +61,6 @@ Ltac2 eq x y := | false => true end end. + +#[deprecated(note="Use Bool.equal", since="8.14")] +Ltac2 eq := equal. |
