[spec] Expose size parameter in clojure.spec.gen.alpha/generate

Description

The lazy-loaded clojure.spec.gen.alpha/generate function only exposes one parameter of its delegate clojure.test.check.generators/generate:

It should perhaps also accept the size parameter of clojure.test.check.generators/generate:

The default size 30 easily leads to OutOfMemoryError with complex specs.

Environment

Clojure 1.10.0-alpha6
clojure.spec.alpha 0.2.168

Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Unassigned

Reporter

David Bürgin

Labels

Approval

Triaged

Priority

Minor

Affects versions