Namespace: Hedgehog
Assembly: Hedgehog.dll
Function or value | Description |
|
|
|
Shrink each of the elements in input list using the supplied shrinking function.
|
Full Usage:
halves n
Parameters:
^a
Returns: seq<^a>
|
Produce a list containing the progressive halving of an integral.
|
Shrink a list by edging towards the empty list. Note we always try the empty list first, as that is the optimal shrink.
|
|
|
Produce all permutations of removing 'k' elements from a list.
|
Turn a list of trees in to a tree of lists, using the supplied function to merge shrinking options. |
|
|
Turn a list of trees in to a tree of lists, opting to shrink only the elements of the list (i.e. the size of the list will always be the same). |
|
Turn a list of trees in to a tree of lists, opting to shrink both the list itself and the elements in the list during traversal. |
Full Usage:
towards destination x
Parameters:
^a
x : ^a
Returns: seq<^a>
|
Shrink an integral number by edging towards a destination.
|
Full Usage:
towardsDouble destination x
Parameters:
double
x : double
Returns: seq<double>
|
Shrink a floating-point number by edging towards a destination. Note we always try the destination first, as that is the optimal shrink.
|