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
Rice Wine
Iris
Commits
531d88c1
Commit
531d88c1
authored
Feb 02, 2016
by
Ralf Jung
Browse files
give the fold_left version of fill
parent
4aeb0a86
Changes
1
Hide whitespace changes
Inline
Side-by-side
barrier/heap_lang.v
View file @
531d88c1
...
...
@@ -136,7 +136,9 @@ Definition ectx_item_fill (Ki : ectx_item) (e : expr) : expr :=
end
.
Fixpoint
fill
K
e
:
=
(* FIXME RJ: This really is fold_left, but if I use that all automation breaks. *)
(* FIXME RJ: This really is fold_left, but if I use that all automation breaks:
fold_left (fun e Ki => ectx_item_fill Ki e).
Or maybe we even have a combinator somewhere to swap the arguments? *)
match
K
with
[]
=>
e
|
Ki
::
K
=>
ectx_item_fill
Ki
(
fill
K
e
)
end
.
(** The stepping relation *)
...
...
Write
Preview
Markdown
is supported
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