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

Draft position paper on exporting intrinsic operators. #113

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tclune
Copy link
Member

@tclune tclune commented Sep 24, 2023

No description provided.

J3-Papers/export-generic.txt Outdated Show resolved Hide resolved
Comment on lines +94 to +96
Constraint: If <generic-spec> is <extended-intrinsic-op>, then at
least one dummy argument in each <interface-specification>
shall be non-deferred and non-intrinsic.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the intent is correct here, but I think there's some nuances that need to be wordsmithed.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes - I stared at the BNF a bit, and found that this will be a bit difficult to specify succinctly. I don't think this paper needs to get it "right", but just indicative. To that end maybe not even make it look like a constraint:

"... a constraint along the lines that disallows public intrinsic operators in a template unless all of the specific procedures involve at least one argument that is neither intrinsic nor deferred."

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.

None yet

2 participants