-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
duplicateIndicates similar issues or pull requestsIndicates similar issues or pull requestsfeatureIndicates new feature / enhancement requestsIndicates new feature / enhancement requestspackagesPackage management and loadingPackage management and loadingparserLanguage parsing and surface syntaxLanguage parsing and surface syntax
Description
I propose that using Statistics as Stat
loads all exported names in Statistics but does not load the name Statistics itself, instead loading the module as the name Stat
.
This almost is equivalent to
using Statistics
using Statistics: Statistics as Stat
And is equivalent to
using Statistics: Statistics as Stat
eval(Expr(:using, Expr(:(:), (Expr(:., s) for s in sort!(filter!(Base.Fix1(Base.isexported, Stat), names(Stat,all=true)), by=(!=(:Statistics))))...)))
TheCedarPrince, goerz, aplavin, Tortar, jmert and 2 moreTheCedarPrince, kdheepak, PallHaraldsson and Roger-luoeliascarv, PallHaraldsson and Roger-luo
Metadata
Metadata
Assignees
Labels
duplicateIndicates similar issues or pull requestsIndicates similar issues or pull requestsfeatureIndicates new feature / enhancement requestsIndicates new feature / enhancement requestspackagesPackage management and loadingPackage management and loadingparserLanguage parsing and surface syntaxLanguage parsing and surface syntax