Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lambda-rust
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
Model registry
Operate
Environments
Monitor
Service Desk
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
Iris
lambda-rust
Commits
4d689273
Commit
4d689273
authored
8 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
make continuation context constructor print properly
parent
8be97ae8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/typing/cont_context.v
+6
-1
6 additions, 1 deletion
theories/typing/cont_context.v
with
6 additions
and
1 deletion
theories/typing/cont_context.v
+
6
−
1
View file @
4d689273
...
@@ -4,7 +4,7 @@ From lrust.lang Require Import notation.
...
@@ -4,7 +4,7 @@ From lrust.lang Require Import notation.
From
lrust
.
lifetime
Require
Import
definitions
.
From
lrust
.
lifetime
Require
Import
definitions
.
From
lrust
.
typing
Require
Import
type
lft_contexts
type_context
.
From
lrust
.
typing
Require
Import
type
lft_contexts
type_context
.
Section
cont_context
.
Section
cont_context
_def
.
Context
`{
typeG
Σ
}
.
Context
`{
typeG
Σ
}
.
Definition
cont_postcondition
:
iProp
Σ
:=
False
%
I
.
Definition
cont_postcondition
:
iProp
Σ
:=
False
%
I
.
...
@@ -13,6 +13,11 @@ Section cont_context.
...
@@ -13,6 +13,11 @@ Section cont_context.
CctxElt
{
cctxe_k
:
val
;
cctxe_L
:
llctx
;
CctxElt
{
cctxe_k
:
val
;
cctxe_L
:
llctx
;
cctxe_n
:
nat
;
cctxe_T
:
vec
val
cctxe_n
→
tctx
}
.
cctxe_n
:
nat
;
cctxe_T
:
vec
val
cctxe_n
→
tctx
}
.
Definition
cctx
:=
list
cctx_elt
.
Definition
cctx
:=
list
cctx_elt
.
End
cont_context_def
.
Add
Printing
Constructor
cctx_elt
.
Section
cont_context
.
Context
`{
typeG
Σ
}
.
Definition
cctx_elt_interp
(
tid
:
thread_id
)
(
x
:
cctx_elt
)
:
iProp
Σ
:=
Definition
cctx_elt_interp
(
tid
:
thread_id
)
(
x
:
cctx_elt
)
:
iProp
Σ
:=
let
'
CctxElt
k
L
n
T
:=
x
in
let
'
CctxElt
k
L
n
T
:=
x
in
...
...
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