How do these Union{Missing, T}s differ in practice?


#1
const MaybeReal = Union{Missing, Real}
const RealMaybe = Union{Missing, T} where T<:Real

#2

The difference is that you can write RealMaybe{Int}.


#3

and it knows how to specialize itself … thanks