I might be in the minority, but I would much appreciate it if whos() filtered out Module types by default. After starting julia and loading my code this is what I see:
julia> whos()
@run Function
ArrayViews Module
Autoreload Module
BSplines Module
Base Module
Blosc Module
Calculus Module
Color Module
Compat Module
Core Module
DataStructures Module
DualNumbers Module
FixedPointNumbers Module
Graphs Module
HDF5 Module
HighLevelInterface Module
JLD Module
JuMP Module
LaTeXStrings Module
LfF Module
MAT Module
MAT_HDF5 Module
MAT_v5 Module
Main Module
MathProgBase Module
Mosek Module
NaNMath Module
ODE Module
Optim Module
Polynomials Module
PyCall Module
PyPlot Module
Quaternions Module
ReverseDiffSparse Module
SolverInterface Module
Zlib Module
ans Void
options Dict{ASCIIString,Any} with 9 entries
It would be nice to only keep track of the variables/functions/types that I created. Modules could still be visible with names(Main) or maybe whos(mods=true).
I think #17997 will address this particular example.
This specific example is fixed, and in general I think we should avoid polluting Main instead of filtering whos.
Most helpful comment
This specific example is fixed, and in general I think we should avoid polluting
Maininstead of filteringwhos.