robinp/scalacheck — Issue #2: Equip flatMapped generators with size-independent guards, if appropriate
Author: robinp
Created: 2012-02-06 09:29:17+00:00
State: open

For example,

for (n <- choose(1, size); c <- containerOfN(n, g) } yield c

should become

(for (n <- choose(1, size); c <- containerOfN(n, g) } yield c) withGuard containerOfN(1, g).guard.ignoreSizeDependent

or similar.