• Codex@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    2
    ·
    edit-2
    4 months ago

    A vector is a variable-length collection of homogeneous elements. For fixed-length, use an array if homogeneous or a tuple if not. For heterogeneous, untyped collections, please consider one of the many “list” variants.