Skip to content

Comparison to bottom, v0.2.2 vs 0.3.0 #601

Answered by cueckoo
cueckoo asked this question in Q&A
Discussion options

You must be logged in to vote

Original reply by @mpvl in cuelang/cue#601 (comment)

This seems related to #475. See cuelang/cue#475 (comment).

Especially the coined terminology of "open disjunctions" seems relevant here.

Basically, the use of _|_ can give rise to non-monotonic behavior if not done properly. Comparing against _|_ is akin to a logical not, which is a questionable construct. So the mechanism in place here is preventing this. v0.2 was really poor at this, but v0.3 is probably too aggressive at doing so. This actually happens all over the place already (looking of a non-existing field in an open struct is incomplete, while for a closed struct it is fatal, for instance), but this case is particularly tricky.

W…

Replies: 4 comments 6 replies

Comment options

cueckoo
Jul 3, 2021
Collaborator Author

You must be logged in to vote
0 replies
Comment options

cueckoo
Jul 3, 2021
Collaborator Author

You must be logged in to vote
0 replies
Comment options

cueckoo
Jul 3, 2021
Collaborator Author

You must be logged in to vote
6 replies
@cueckoo
Comment options

cueckoo Jul 3, 2021
Collaborator Author

@cueckoo
Comment options

cueckoo Jul 3, 2021
Collaborator Author

@cueckoo
Comment options

cueckoo Jul 3, 2021
Collaborator Author

@cueckoo
Comment options

cueckoo Jul 3, 2021
Collaborator Author

@cueckoo
Comment options

cueckoo Jul 3, 2021
Collaborator Author

Comment options

cueckoo
Jul 3, 2021
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by cueckoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant