On Sunday, September 18, 2016 at 5:31:19 PM UTC-4, Marius Millea wrote:
>
> I'd like to access global variables from the default values of keywords 
> arguments, e.g.:
>
> x = 3
> function f(;x=x) #<- this default value of x here should refer to x in 
> the global scope which is 3
>

I think this should be fixed, but in the meantime it works if you just give 
the keyword argument a different name, e.g. f(; y=x) = ....

Reply via email to