-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
decisionDecide between multiple valid optionsDecide between multiple valid options
Description
Example:
@concrete terse struct MyType{B}
a
b::B
end
x = MyType("hi", 2.0)Here is what the full type looks like (the explicitly declared parameters always come first, regardless of the position of their corresponding fields):
julia> typeof(x)
MyType{Float64,String}Options:
- No type params (baseline):
julia> x
MyType("hi", 2.0)- Elipses:
julia> x
MyType{...}("hi", 2.0)- Only the explicitly declared params:
julia> x
MyType{Float64}("hi", 2.0)- Only the explicitly declared params, but with elipses:
julia> x
MyType{Float64,...}("hi", 2.0)Metadata
Metadata
Assignees
Labels
decisionDecide between multiple valid optionsDecide between multiple valid options