As usual I'm looking to reconstruct the SentinalMissings array object using ConstructionBase.jl, but it has type parameters not known from the fields.
I'm wondering if it would be possible to:
a. use a second field that holds a Val{SV}() object where SV is the sentinal value.
b. add a ConstructionBase.jl dep to add constructorof method that keeps the SV param.
Probably the first is preferable, as this package is so tiny.
As usual I'm looking to reconstruct the
SentinalMissings
array object using ConstructionBase.jl, but it has type parameters not known from the fields.I'm wondering if it would be possible to:
a. use a second field that holds a
Val{SV}()
object whereSV
is the sentinal value. b. add a ConstructionBase.jl dep to addconstructorof
method that keeps theSV
param.Probably the first is preferable, as this package is so tiny.