julia> VERSION
v"1.11.0-rc1"
julia> using Random
julia> Base.ispublic(Random, :seed!), Base.ispublic(Random, :default_rng)
(false, false)
Does this mean that one should avoid using these functions if the code should be compatible with future Julia versions?
If so, then what is a sensible alternative to something like:
using Random
myfunction(rng::AbstractRNG, n::Integer)
rand(rng, 1:55, n, 2 * n)
end
myfunction(n::Integer)
myfunction(Random.default_rng(), n)
end