Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
11
Task/Introspection/Julia/introspection.julia
Normal file
11
Task/Introspection/Julia/introspection.julia
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
@show VERSION
|
||||
VERSION < v"0.4" && exit(1)
|
||||
|
||||
if isdefined(Base, :bloop) && !isempty(methods(abs))
|
||||
@show abs(bloop)
|
||||
end
|
||||
|
||||
a, b, c = 1, 2, 3
|
||||
vars = filter(x -> eval(x) isa Integer, names(Main))
|
||||
println("Integer variables: ", join(vars, ", "), ".")
|
||||
println("Sum of integers in the global scope: ", sum(eval.(vars)), ".")
|
||||
Loading…
Add table
Add a link
Reference in a new issue