-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
designDesign of APIs or of the language itselfDesign of APIs or of the language itselfmodulesspeculativeWhether the change will be implemented is speculativeWhether the change will be implemented is speculative
Description
It would be convenient if there were a way to do this.
module A
export lots, of, stuff
# ...
end
module B
using A
# magically export everything that was just imported from A
end
Doing this explicitly (copy the long list of exports from A into B) is a bit ugly and error prone. I imagine any alternative would involve a new keyword though.
Concretely, Gadfly is useless without symbols from Compose (and probably DataFrames), but a bunch of compulsory using statements isn't great.
Datseris, ForceBru, jackhftang, lukasgrunwald and Heptazhouip1981 and nsajko
Metadata
Metadata
Assignees
Labels
designDesign of APIs or of the language itselfDesign of APIs or of the language itselfmodulesspeculativeWhether the change will be implemented is speculativeWhether the change will be implemented is speculative