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

Language idea: Consider removing the mandatory mod directive #50

Closed
alexrp opened this issue Mar 5, 2023 · 1 comment
Closed

Language idea: Consider removing the mandatory mod directive #50

alexrp opened this issue Mar 5, 2023 · 1 comment
Labels
area: language Issues related to the design of the language. type: feature Issues that are classified as feature requests.
Milestone

Comments

@alexrp
Copy link
Sponsor Member

alexrp commented Mar 5, 2023

Is there actually a good reason to have this in the language? Module lookup is probably not going to need it at all. Right now, the only function it serves is being able to attach certain well-known attributes to it. Perhaps we could find a different way to do that.

@alexrp alexrp added state: deliberation Issues that require considerable deliberation and/or discussion before a resolution can be found. type: feature Issues that are classified as feature requests. area: language Issues related to the design of the language. labels Mar 5, 2023
@alexrp alexrp added this to the v1.0 milestone Mar 5, 2023
@alexrp alexrp self-assigned this Mar 5, 2023
@alexrp alexrp closed this as completed Mar 7, 2023
@alexrp alexrp removed the state: deliberation Issues that require considerable deliberation and/or discussion before a resolution can be found. label Mar 7, 2023
@alexrp
Copy link
Sponsor Member Author

alexrp commented Mar 11, 2023

mod {
    pub fn add(x, y) {
        x + y;
    }
}

Approved for 1.0.

@alexrp alexrp removed their assignment Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: language Issues related to the design of the language. type: feature Issues that are classified as feature requests.
Development

No branches or pull requests

1 participant