Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Jonas Kastberg
iris
Commits
fcd41fdf
Commit
fcd41fdf
authored
Oct 30, 2017
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless cast.
parent
c0c65a98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
theories/tests/one_shot.v
theories/tests/one_shot.v
+2
-2
No files found.
theories/tests/one_shot.v
View file @
fcd41fdf
...
...
@@ -21,8 +21,8 @@ Definition one_shot_example : val := λ: <>,
end
)).
Definition
one_shotR
:
=
csumR
(
exclR
unitC
)
(
agreeR
ZC
).
Definition
Pending
:
one_shotR
:
=
(
Cinl
(
Excl
())
:
one_shotR
)
.
Definition
Shot
(
n
:
Z
)
:
one_shotR
:
=
(
Cinr
(
to_agree
n
)
:
one_shotR
)
.
Definition
Pending
:
one_shotR
:
=
Cinl
(
Excl
()).
Definition
Shot
(
n
:
Z
)
:
one_shotR
:
=
Cinr
(
to_agree
n
).
Class
one_shotG
Σ
:
=
{
one_shot_inG
:
>
inG
Σ
one_shotR
}.
Definition
one_shot
Σ
:
gFunctors
:
=
#[
GFunctor
one_shotR
].
...
...
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