chickadee » data-generators » gen-list-of

(gen-list-of gen #!optional (size (gen-current-default-size)))procedure

Generator for a list where each element is generated with the given generator gen. The size parameter specifies the size of the list that is generated. It is expected to be a thunk that returns the size as a fixnum. See with-size for a more convenient way to adjust this.