Skip to content

Conversation

@simonbyrne
Copy link
Member

A comment on Slack asked why @view(X[a]) expands to true && view(X,a), which is not at all obvious, so added a comment. Also fixed a macro hygiene issue.

@Keno
Copy link
Member

Keno commented Jul 23, 2020

Would let; view(X,a); end be a more obvious expansion that has the same effect. It's a minor difference, but && does introduce an extra basic block.

@simonbyrne
Copy link
Member Author

Yes, that would do the same thing. I can update the PR

@Keno
Copy link
Member

Keno commented Jul 23, 2020

@JeffBezanson may have an opinion, but that sounds better to me.

@simonbyrne simonbyrne closed this Feb 13, 2023
@simonbyrne simonbyrne deleted the sb/view branch February 13, 2023 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants