-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Let users specify a hint name on Hint Extern
- Loading branch information
Showing
13 changed files
with
67 additions
and
25 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
doc/changelog/08-vernac-commands-and-options/19824-hint_extern_name.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
- **Added:** | ||
Provide a way to associate a name with a :cmd:`Hint Extern` so that :cmd:`Remove Hints` | ||
and :cmd:`Hint Cut` can refer to them | ||
(`#19824 <https://github.com/coq/coq/pull/19824>`_, | ||
fixes `#19816 <https://github.com/coq/coq/issues/19816>`_, | ||
by Jim Fehrle). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Non-discriminated database | ||
Unfoldable variable definitions: none | ||
Unfoldable constant definitions: none | ||
Unfoldable projection definitions: none | ||
Cut: emp | ||
For any goal -> | ||
For True -> (*external*) idtac "x" (cost 1, pattern True, id 0, name Nat.t) | ||
|
||
Non-discriminated database | ||
Unfoldable variable definitions: none | ||
Unfoldable constant definitions: none | ||
Unfoldable projection definitions: none | ||
Cut: emp | ||
For any goal -> | ||
For True -> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Hint Extern 1 True as Stdlib.Init.Nat.t => idtac "x" : db. | ||
Print HintDb db. | ||
Remove Hints Init.Nat.t : db. | ||
Print HintDb db. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters