We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kinda like dir() in python, its nice to just list the defined variables in the session so far. Not module ones, just Main, I think.
dir()
Good example implementation from Mustache.jl docs:
_names = String[] _summaries = String[] for s in sort(map(string, names(Main))) v = Symbol(s) if isdefined(Main,v) push!(_names, s) push!(_summaries, summary(eval(v))) end end using DataFrames d = DataFrame(names=_names, summs=_summaries) out = Mustache.render(tpl, TITLE="A quick table", D=d) print(out)
The text was updated successfully, but these errors were encountered:
names(Main) # gives list of defined names summary(<variable>) # details of type definition
Sorry, something went wrong.
No branches or pull requests
Kinda like
dir()
in python, its nice to just list the defined variables in the session so far.Not module ones, just Main, I think.
Good example implementation from Mustache.jl docs:
The text was updated successfully, but these errors were encountered: