Module

# Jack.Shrink

- Package
- purescript-jack
- Repository
- jystic/purescript-jack

### #shrinkTowards Source

`shrinkTowards :: forall a. Ord a => EuclideanRing a => a -> a -> List a`

Shrink an integral by edging towards a destination number.

### #sequenceShrinkOne Source

`sequenceShrinkOne :: forall a. List (Tree a) -> Tree (List a)`

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).

### #sequenceShrinkList Source

`sequenceShrinkList :: forall a. List (Tree a) -> Tree (List a)`

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.

### #shrinkList Source

`shrinkList :: forall a. List a -> List (List a)`

Produce a smaller permutation of the input list.