make-list

(make-list k obj)


Description:

Creates a list of k elements setting each element to obj


Arguments:

              k -- number of elements

            obj -- the object to fill each element


Returns: list


Examples:

(make-list 5 'a)  => (a a a a a)



Back to index