Sum data type: Difference between revisions
m
→{{header|Julia}}
Line 138:
=={{header|Julia}}==
Julia allows the creation of union types.
<lang Julia>
julia> using Sockets # for IP types
julia> MyUnion = Union{Int64, String, Float64, IPv4, IPv6}
|