Enable customization of Commands.Command shrinking#740
Conversation
The `Commands` user can either specify a `Shrink[Command]`, in which case the default `List` shrinker will be used to shrink sequential and parallel commands, or the user can specify those shrinks directly, or a mix (e.g. `Shrink[Command]` and `Shrink[List[List[Command]]]`).
|
Can you define an |
The main obstacle is that the Maybe what you had in mind is making If you insist I'll make a PR which just overrides |
The
Commandsuser can either specify aShrink[Command], in whichcase the default
Listshrinker will be used to shrink sequential andparallel commands, or the user can specify those shrinks directly, or
a mix (e.g.
Shrink[Command]andShrink[List[List[Command]]]).