file: job.t package: muf status: alpha
The makeVector
function accepts a length atop a
value, and creates and returns a vector of that length,
with all slots initialized to that value.
For those of us addicted to conciseness, this function
is also available under the synonym vec
.
Similar functions
makeVectorI01
makeVectorI08
makeVectorI16
makeVectorI32
makeVectorF32
makeVectorF64
are also available.
Note that a key distinction between makeVectorI08
and the string primitives is that the latter return
values marked read-only, while ]makeVectorI08
returns a value marked read-write.
See section ]makeVector. See section makeEphemeralVector.
Go to the first, previous, next, last section, table of contents.