Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marianna Rapoport
iris-coq
Commits
7b221fa8
Commit
7b221fa8
authored
Jan 11, 2017
by
Robbert Krebbers
Browse files
Use lazymatch in reshape_val, it should not backtrack.
parent
21d4658d
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/heap_lang/tactics.v
View file @
7b221fa8
...
...
@@ -252,7 +252,7 @@ evaluation context [K] and a subexpression [e']. It calls the tactic [tac K e']
for each possible decomposition until [tac] succeeds. *)
Ltac
reshape_val
e
tac
:
=
let
rec
go
e
:
=
match
e
with
lazy
match
e
with
|
of_val
?v
=>
v
|
Rec
?f
?x
?e
=>
constr
:
(
RecV
f
x
e
)
|
Lit
?l
=>
constr
:
(
LitV
l
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment