make-vector

(make-vector k [obj])


Description:

Make a vector of k elements each filled with obj


Arguments:

              k -- number of elements in vector

            obj -- sheme object to put in each element


Returns: vector


Related: make-vector-with-proc make-list 


Examples:

(make-vector 5 'a) => #(a a a a a)



Back to index