diff options
| author | coqbot-app[bot] | 2021-04-22 11:55:14 +0000 |
|---|---|---|
| committer | GitHub | 2021-04-22 11:55:14 +0000 |
| commit | d758cc5bb19d7abfcce13d2c26b5ae1c0fc1a439 (patch) | |
| tree | 4316343dbb2369d4d80f5f35930a0c2e32cc7ba3 | |
| parent | 28af2cba915c925787c677f9be74fb3db654a653 (diff) | |
| parent | e27fdd18cdfd8424d19058a3b59256219d111733 (diff) | |
Merge PR #14128: Uniformize the name of the Ltac2 boolean equality function.
Reviewed-by: JasonGross
| -rw-r--r-- | doc/changelog/05-tactic-language/14128-ltac2-bool-equal-rename.rst | 5 | ||||
| -rw-r--r-- | user-contrib/Ltac2/Bool.v | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/doc/changelog/05-tactic-language/14128-ltac2-bool-equal-rename.rst b/doc/changelog/05-tactic-language/14128-ltac2-bool-equal-rename.rst new file mode 100644 index 0000000000..17eb710344 --- /dev/null +++ b/doc/changelog/05-tactic-language/14128-ltac2-bool-equal-rename.rst @@ -0,0 +1,5 @@ +- **Changed:** + Renamed Ltac2 Bool.eq into Bool.equal for uniformity. + The old function is now a deprecated alias + (`#14128 <https://github.com/coq/coq/pull/14128>`_, + by Pierre-Marie Pédrot). 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. |
