chickadee » data-generators » gen-hash-table-of

(gen-hash-table-of key-gen value-gen #!optional (size (gen-current-default-size)) (equal? eq?))procedure

Generator for a hash-table where each key is generated by key-gen and each value is generated by value-gen. The size parameter specifies the size of the hash-table that is generated. The equal? parameter is passed directly to make-hash-table. 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.