ok, I understand that, thank you.
I have searched in the release notes but couldn’t find anything on a higher level of an explanation, only details on specific functions.
My confusion about this started with reading this question:
Starting a new REPL (1.0):
julia> @which rand()
rand() in Random at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Random\src\Random.jl:222
so I thought rand()
is from the “Standard Library” because of the path "…\julia\stdlib\v1.0\Random\src\Random.jl`.
Looking into the documentation is confirming that.
Assuming that “The “Standard Library” are just regular packages” I would expect that there needs to be some ‘using’ statement to use something from the Standard Library, which is not the case for ‘rand()’.
So there are perhaps some implicit imports in the REPL.
In the mean time it has been somehow answered with
But still it seems to be not a real answer, more like “it is that way because it was decided to be that way”.