Julia 1.6.1 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 11.11Type{T} type selectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 11.12Type Aliases types can be singleton types when the above condition holds. For example, 11.11. TYPE{T} TYPE SELECTORS 125 julia> struct NoFieldsParam{T} end julia> Base.issingletontype(NoFieldsParam) # can't be singleton true julia> NoFieldsParam{Int}() === NoFieldsParam{Int}() true 11.11 Type{T} type selectors For each type T, Type{T} is an abstract parametric type whose only instance is the object T. Until0 码力 | 1397 页 | 4.59 MB | 1 年前3Julia 1.7.0 DEV Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 11.11Type{T} type selectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 11.12Type Aliases types can be singleton types when the above condition holds. For example, 11.11. TYPE{T} TYPE SELECTORS 127 julia> struct NoFieldsParam{T} end julia> Base.issingletontype(NoFieldsParam) # can't be singleton true julia> NoFieldsParam{Int}() === NoFieldsParam{Int}() true 11.11 Type{T} type selectors For each type T, Type{T} is an abstract parametric type whose only instance is the object T. Until0 码力 | 1399 页 | 4.59 MB | 1 年前3Julia 1.6.0 DEV Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 11.11Type{T} type selectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 11.12Type Aliases types can be singleton types when the above condition holds. For example, 11.11. TYPE{T} TYPE SELECTORS 125 julia> struct NoFieldsParam{T} end julia> Base.issingletontype(NoFieldsParam) # can't be singleton true julia> NoFieldsParam{Int}() === NoFieldsParam{Int}() true 11.11 Type{T} type selectors For each type T, Type{T} is an abstract parametric type whose only instance is the object T. Until0 码力 | 1383 页 | 4.56 MB | 1 年前3Julia 1.6.0 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 11.11Type{T} type selectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 11.12Type Aliases types can be singleton types when the above condition holds. For example, 11.11. TYPE{T} TYPE SELECTORS 125 julia> struct NoFieldsParam{T} end julia> Base.issingletontype(NoFieldsParam) # can't be singleton true julia> NoFieldsParam{Int}() === NoFieldsParam{Int}() true 11.11 Type{T} type selectors For each type T, Type{T} is an abstract parametric type whose only instance is the object T. Until0 码力 | 1397 页 | 4.59 MB | 1 年前3Julia v1.6.6 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 11.11Type{T} type selectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 CONTENTS iv 11 singleton true julia> NoFieldsParam{Int}() === NoFieldsParam{Int}() true 11.11 Type{T} type selectors For each type T, Type{T} is an abstract parametric type whose only instance is the object T. Until0 码力 | 1324 页 | 4.54 MB | 1 年前3Julia 1.6.5 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 11.11Type{T} type selectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 CONTENTS iv 11 singleton true julia> NoFieldsParam{Int}() === NoFieldsParam{Int}() true 11.11 Type{T} type selectors For each type T, Type{T} is an abstract parametric type whose only instance is the object T. Until0 码力 | 1325 页 | 4.54 MB | 1 年前3Julia 1.6.7 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 11.11Type{T} type selectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 CONTENTS iv 11 singleton true julia> NoFieldsParam{Int}() === NoFieldsParam{Int}() true 11.11 Type{T} type selectors For each type T, Type{T} is an abstract parametric type whose only instance is the object T. Until0 码力 | 1324 页 | 4.54 MB | 1 年前3Julia 1.6.4 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 11.11Type{T} type selectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 CONTENTS iv 11 singleton true julia> NoFieldsParam{Int}() === NoFieldsParam{Int}() true 11.11 Type{T} type selectors For each type T, Type{T} is an abstract parametric type whose only instance is the object T. Until0 码力 | 1324 页 | 4.54 MB | 1 年前3Julia 1.6.2 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 11.11Type{T} type selectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 CONTENTS iv 11 singleton true julia> NoFieldsParam{Int}() === NoFieldsParam{Int}() true 11.11 Type{T} type selectors For each type T, Type{T} is an abstract parametric type whose only instance is the object T. Until0 码力 | 1324 页 | 4.54 MB | 1 年前3Julia 1.6.3 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 11.11Type{T} type selectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 CONTENTS iv 11 singleton true julia> NoFieldsParam{Int}() === NoFieldsParam{Int}() true 11.11 Type{T} type selectors For each type T, Type{T} is an abstract parametric type whose only instance is the object T. Until0 码力 | 1325 页 | 4.54 MB | 1 年前3
共 71 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8