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:
_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)
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: