Hi all,

I need to specify function parameter by default value None/Nothing like
in Python, so that if it is not initialized during the function call I
do it inside the function.

I read corresponding section in the FAQ:
http://docs.julialang.org/en/release-0.5/manual/faq/#nothingness-and-missing-values


And I still don't understand what is the proper way of doing this.

Should I do it like this?


```
function foo(x1,x2; z = Nullable{Int64}())
    if isnull(z)
        ...
    else
        ...
    end
end
```

or in another way?


-- 
BR,
Alex

Reply via email to