Skip to content
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

Question-mark in views #107

Open
bensimner opened this issue Nov 29, 2016 · 1 comment
Open

Question-mark in views #107

bensimner opened this issue Nov 29, 2016 · 1 comment

Comments

@bensimner
Copy link
Collaborator

Currently we allow

{| ? |} C; {| ? |}

It seems all ? does is allow hsf/muz3 to generate funcs, it'd be useful (say for dekkers) to allow us to write something like

{| ? |} <a_want = (1)>; {| AWant() * ? |}

Where we know some partial information about one thread and not about the other, for instance. I'm not sure if this would help performance of hsf as well, giving more information.

@MattWindsor91
Copy link
Collaborator

Example is Dekker's algorithm.

This will require a bit of changing around of ViewDesugar and the view AST, to move ? from being a viewexpr-level thing to being a func-level thing.

However, it shouldn't need anything else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants