chickadee » scheme » base » make-list

make-list k #!optional fillprocedure

Returns a newly allocated list of k elements. If a second argument is given, then each element is initialized to fill. Otherwise the initial contents of each element is unspecified.

(make-list 2 3)    ==>   (3 3)