-
Notifications
You must be signed in to change notification settings - Fork 415
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
Refactor stable modules into std #12712
Comments
The categorization of what would fall into unstable vs. stable relates to #10714 as well. |
I'm confused about how we would do this today. Wouldn't we have to have something like C++ namespaces to even talk about doing this? (Otherwise today, we'd literally be putting all the standard modules in one file named |
@mppf -- You're right. We couldn't.
Edit: Added 3. |
This feature request becomes possible after #13524 is resolved. |
As a data point -- With an input file consisting of
This behavior is one reason why I want a For a non-existent module, the last five lines wouldn't appear because the compiler would know that the module indicated couldn't be in the Programs would then look like: use std.Assert;
use std.Time;
use std.dists.Block;
use std.dists.Replicated;
use std.packages.BLAS;
use std.packages.UnorderedCopy; Or something to that effect. (Hierarchy is TBD.) |
Feature request. Refactor the Chapel modules into the
std
namespace to prevent user-level conflicts.There could be some interesting implications for how to handle unstable modules. Maybe something like the C++ TS namespace. Or it could be as simple as module
std.unstable.SomeFeature
.The text was updated successfully, but these errors were encountered: