Contains an optimized version of Sequence called Sequence.Flat that
combines a tree of Sequence nodes from the left, into a single
tail-recursive function working over a Vector of their contents.
Intentionally completely type-unsafe internally, using casting all
over the place, because it's near impossible to make the variable-length
heterogenous-typed list type-safe without going crazy. If constructed by
flatten-ing out a Sequence, the types are checked when the Sequence
was constructed, so it's still safe.
Contains an optimized version of Sequence called Sequence.Flat that combines a tree of Sequence nodes from the left, into a single tail-recursive function working over a
Vector
of their contents.Intentionally completely type-unsafe internally, using casting all over the place, because it's near impossible to make the variable-length heterogenous-typed list type-safe without going crazy. If constructed by
flatten
-ing out a Sequence, the types are checked when the Sequence was constructed, so it's still safe.