Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pierre Roux
Iris
Commits
4d39284d
Commit
4d39284d
authored
3 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
note that things will be better in the future
parent
0e7930c6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
iris/proofmode/string_ident.v
+4
-1
4 additions, 1 deletion
iris/proofmode/string_ident.v
with
4 additions
and
1 deletion
iris/proofmode/string_ident.v
+
4
−
1
View file @
4d39284d
...
@@ -64,7 +64,10 @@ Module StringToIdent.
...
@@ -64,7 +64,10 @@ Module StringToIdent.
Ltac2
coq_string_to_ident
(
s
:
constr
)
:=
ident_from_string
(
coq_string_to_string
s
)
.
Ltac2
coq_string_to_ident
(
s
:
constr
)
:=
ident_from_string
(
coq_string_to_string
s
)
.
(** We want to wrap this in an Ltac1 API, which requires passing a string to
(** We want to wrap this in an Ltac1 API, which requires passing a string to
Ltac2 and then performing an intros. *)
Ltac2 and then performing an intros.
TODO: Once we require Coq 8.14, we should be able to pass idents across
the Ltac/Ltac2 barrier, which can be used to avoid the revert/intros.
*)
Ltac2
get_opt
o
:=
match
o
with
None
=>
Control
.
throw
Not_found
|
Some
x
=>
x
end
.
Ltac2
get_opt
o
:=
match
o
with
None
=>
Control
.
throw
Not_found
|
Some
x
=>
x
end
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment