Aliases for Union{T, Nothing} and Union{T, Missing}?

I think that extensions don’t break 1.0, so in theory they would be OK.

That said, I prefer Union{T, Missing} & similar. I am sure I would have a hard time remembering which of Maybe, Option, and other variants corresponds to which singleton (as the discussion demonstrates, this is not intuitive at all); just as I don’t remember precedence tables so I try to avoid relying on them.

1 Like