@@ -63,52 +63,6 @@ default definition.
63
63
function refpool end
64
64
refpool (A:: AbstractArray ) = nothing
65
65
66
- """
67
- nondatavaluetype(T)
68
-
69
- For a type `T`, return the corresponding non-`DataValue` type, translating between
70
- `Union{T, Missing}` and `DataValue{T}`.
71
-
72
- For example, `nondatavaluetype(Int64)` returns `Int64`, while
73
- `nondatavaluetype(DataValue{Int64})` returns `Union{Int64, Missing}`.
74
-
75
- This generic function is owned by DataAPI.jl itself, which is the sole provider of the
76
- default definition.
77
- """
78
- function nondatavaluetype end
79
-
80
- nondatavaluetype (:: Type{T} ) where {T} = T
81
- nondatavaluetype (:: Type{Union{}} ) = Union{}
82
-
83
- """
84
- datavaluetype(T)
85
-
86
- For a type `T`, return the corresponding `DataValue` type, translating between
87
- `Union{T, Missing}` and `DataValue{T}`.
88
-
89
- For example, `datavaluetype(Int64)` returns `Int64`, while
90
- `datavaluetype(Union{Int64, Missing})` returns `DataValue{Int64}`.
91
-
92
- This generic function is owned by DataAPI.jl itself, which is the sole provider of the
93
- default definition.
94
- """
95
- function datavaluetype end
96
-
97
- datavaluetype (:: Type{T} ) where {T} = T
98
- datavaluetype (:: Type{Union{}} ) = Union{}
99
-
100
- """
101
- unwrap(x)
102
-
103
- For a value `x`, potentially "unwrap" it from a `DataValue` or similar container.
104
-
105
- This generic function is owned by DataAPI.jl itself, which is the sole provider of the
106
- default definition.
107
- """
108
- function unwrap end
109
-
110
- unwrap (x) = x
111
-
112
66
"""
113
67
describe(io::IO, x)
114
68
0 commit comments