Simplification of exports system #13097
Replies: 1 comment 1 reply
-
Allow exports only in Main modulesCurrently, an Note that all the imports that we have across the code base should continue working exactly as they are now, with possibly just a few minor fixes. Apart from Prelude (which can be implemented differently to not use exports outside the Main module), I don't think there are any other, valid use cases that would prevent us from allowing exports only in main modules. If this idea proves valid, I have another, even more controversial, suggestion. We could get rid of the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The import/export system of Enso is one of the most complicated parts of the engine. Even after removing support for
export all
statements in #10369, it still feels unnecessarily complicated. Let's discuss some ideas, how can we make the exports even simpler.It is important that imports will continue working exactly as they are working now. If any modifications to imports are necessary, they should be just a few minor fixes.
Beta Was this translation helpful? Give feedback.
All reactions