Top-Level Scope?


#1

Can someone explain “top-level scope” to me? I am forever running into top-level scope at none:0 errors and cant seem to troubleshoot them.

Thanks!


#2

Hi!
Would you please provide a simple example?

You can include code by wrapping it in backticks ` `
x = 1+1


#3

`julia> mean([1,2,3,4])
ERROR: UndefVarError: mean not defined
Stacktrace:
[1] top-level scope at none:0’


#4

You need a using Statistics now in 1.0


#5

Is there a list in the documentation that lets us know all the things we took for granted before and the Base packages we should be loading now?


#6

0.7 has deprecation warnings in place.


#7