Sequences are a fundamental kind of value. Right now, if you want to capture a sequence in a ValueBag you need to use its Serialize or Value implementation. It would be nice to be able to capture sequences primitively too.
To avoid an explosion of variants in the internal enum, we could rely on Fill to do this by adding a fill_seq method on it, then implementing Fill for [T: Fill; N].
Sequences are a fundamental kind of value. Right now, if you want to capture a sequence in a
ValueBag
you need to use itsSerialize
orValue
implementation. It would be nice to be able to capture sequences primitively too.To avoid an explosion of variants in the internal enum, we could rely on
Fill
to do this by adding afill_seq
method on it, then implementingFill
for[T: Fill; N]
.