forked from rossberg/1ml
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove T_abs with (Path = T_sub)
and add T_abs & T_sub
syntax...
#19
Open
polytypic
wants to merge
2
commits into
1ml-prime
Choose a base branch
from
intersection-sub-to-replace-with
base: 1ml-prime
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
polytypic
force-pushed
the
intersection-sub-to-replace-with
branch
5 times, most recently
from
February 19, 2020 18:24
4a4c30a
to
229896c
Compare
polytypic
force-pushed
the
intersection-sub-to-replace-with
branch
3 times, most recently
from
February 22, 2020 13:29
aff9b3e
to
7845dd3
Compare
polytypic
force-pushed
the
1ml-prime
branch
4 times, most recently
from
February 22, 2020 18:46
1d77593
to
b248d00
Compare
polytypic
force-pushed
the
intersection-sub-to-replace-with
branch
from
February 22, 2020 18:48
7845dd3
to
604881f
Compare
polytypic
force-pushed
the
intersection-sub-to-replace-with
branch
from
February 22, 2020 18:57
604881f
to
5fc4f42
Compare
polytypic
force-pushed
the
intersection-sub-to-replace-with
branch
from
February 23, 2020 10:47
5fc4f42
to
ea353d3
Compare
polytypic
force-pushed
the
1ml-prime
branch
2 times, most recently
from
February 28, 2020 06:01
6167f5b
to
88b09cf
Compare
polytypic
force-pushed
the
intersection-sub-to-replace-with
branch
from
February 28, 2020 06:45
ea353d3
to
2268faa
Compare
polytypic
force-pushed
the
intersection-sub-to-replace-with
branch
2 times, most recently
from
February 29, 2020 08:49
e909120
to
afd4d23
Compare
polytypic
force-pushed
the
1ml-prime
branch
6 times, most recently
from
March 1, 2020 13:20
0fb0880
to
5c75b59
Compare
polytypic
force-pushed
the
1ml-prime
branch
2 times, most recently
from
July 4, 2020 09:18
0b0a19e
to
486657d
Compare
polytypic
force-pushed
the
intersection-sub-to-replace-with
branch
from
July 4, 2020 09:39
21012f8
to
2dc5974
Compare
polytypic
force-pushed
the
1ml-prime
branch
3 times, most recently
from
July 4, 2020 10:40
dcc40ea
to
7825b41
Compare
polytypic
force-pushed
the
intersection-sub-to-replace-with
branch
from
July 4, 2020 10:45
2dc5974
to
6ffef69
Compare
polytypic
force-pushed
the
intersection-sub-to-replace-with
branch
3 times, most recently
from
July 12, 2020 08:54
df4bb4c
to
8597788
Compare
polytypic
force-pushed
the
1ml-prime
branch
3 times, most recently
from
July 21, 2020 14:10
ec6e7c7
to
8c8671b
Compare
polytypic
force-pushed
the
intersection-sub-to-replace-with
branch
from
July 21, 2020 14:42
8597788
to
a94dd33
Compare
polytypic
force-pushed
the
intersection-sub-to-replace-with
branch
from
July 21, 2020 15:52
a94dd33
to
2a76357
Compare
polytypic
force-pushed
the
intersection-sub-to-replace-with
branch
2 times, most recently
from
July 28, 2020 14:19
dac23e1
to
ac35709
Compare
polytypic
force-pushed
the
1ml-prime
branch
2 times, most recently
from
August 3, 2020 02:21
59f2865
to
00bc488
Compare
polytypic
force-pushed
the
intersection-sub-to-replace-with
branch
from
August 3, 2020 03:53
ac35709
to
59631d1
Compare
polytypic
force-pushed
the
intersection-sub-to-replace-with
branch
from
August 10, 2020 06:46
59631d1
to
ad5f067
Compare
polytypic
force-pushed
the
intersection-sub-to-replace-with
branch
from
August 24, 2020 03:55
ad5f067
to
1c2a1b9
Compare
...for type refinement. The new T_abs & T_sub mechanism is similar to the old T_abs with (Path = T_sub) mechanism and also to the include mechanism {...T_abs; ...T_sub} The main difference is that, instead of using a path to target a specific substructure or requiring that no declarations overlap, an intersection, `T_int`, of the nested declarations of `T_abs` and `T_sub`, is computed. Then it is checked whether `T_abs :> T_int` and if so a substitution, `𝛿`, is obtained. Finally the nested declarations of `𝛿(T_abs)` and `T_sub` are merged. Also, in `T1 & T2` both `T1` and `T2` are elaborated in the same environment whereas in `{...T1; ...T2}` the environment for `T2` includes declarations from `T1` and in `T1 with (P = T2)` the path `P` is specific to `T1`. When defined, `T1 & T2` is always a subtype of both `T1` and `T2` T1 & T2 :> T1 T1 & T2 :> T2
polytypic
force-pushed
the
intersection-sub-to-replace-with
branch
from
August 24, 2020 05:37
1c2a1b9
to
0778534
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Remove
T_abs with (Path = T_sub)
and addT_abs & T_sub
syntax for type refinement.The new
mechanism is similar to the old
mechanism and also to the include mechanism
The main difference is that, instead of using a path to target a specific substructure or requiring that no declarations overlap, an intersection,
T_int
, of the nested declarations ofT_abs
andT_sub
, is computed.Then it is checked whether
T_abs :> T_int
and if so a substitution,𝛿
, is obtained. Finally the nested declarations of𝛿(T_abs)
andT_sub
are merged.Also, in
T1 & T2
bothT1
andT2
are elaborated in the same environment whereas in{...T1; ...T2}
the environment forT2
includes declarations fromT1
and inT1 with (P = T2)
the pathP
is specific toT1
.When defined,
T1 & T2
is always a subtype of bothT1
andT2