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
Tej Chajed
iris
Commits
ba7cf95f
Commit
ba7cf95f
authored
Sep 07, 2016
by
Robbert Krebbers
Browse files
Use pair syntax in par implementation.
parent
a7d741f6
Changes
1
Show whitespace changes
Inline
Side-by-side
heap_lang/lib/par.v
View file @
ba7cf95f
...
...
@@ -9,7 +9,7 @@ Definition par : val :=
let
:
"handle"
:
=
spawn
(
Fst
"fs"
)
in
let
:
"v2"
:
=
Snd
"fs"
#()
in
let
:
"v1"
:
=
join
"handle"
in
Pair
"v1"
"v2"
.
(
"v1"
,
"v2"
)
.
Notation
"e1 || e2"
:
=
(
par
(
Pair
(
λ
:
<>,
e1
)
(
λ
:
<>,
e2
)))%
E
:
expr_scope
.
Global
Opaque
par
.
...
...
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