Skip to content

Support using Statistics as Stat #52784

@LilithHafner

Description

@LilithHafner

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))))...)))

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateIndicates similar issues or pull requestsfeatureIndicates new feature / enhancement requestspackagesPackage management and loadingparserLanguage parsing and surface syntax

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions