Idea: shortcut notation for Union{T, Nothing}

It would be nice if Union{T, Nothing} could be notated as T? like in Kotlin, C# etc.

Not necessary but nice to have. Makes the code more compact and readable.

1 Like

x-ref: Use ? to lift missing values · Issue #36628 · JuliaLang/julia · GitHub and the linked discourse thread there.

1 Like