Liking cljdoc? Tell your friends :D

active.shrink


cons-nubclj

(cons-nub a seq)

puts a at the front of the seq, if it isn't already the head

puts a at the front of the seq, if it isn't already the head
sourceraw docstring

dont-shrinkclj

(dont-shrink tree-with-shrink)

takes the root of an shrinking tree as tree

takes the root of an shrinking tree as tree
sourceraw docstring

halvesclj

(halves x)

Produces a seq containing the results of halving a number x over and over again.

Produces a seq containing the results of halving a number x over and over again.
sourceraw docstring

removesclj

(removes initial-num-of-elements input-seq)

Permutes a seq by removing 'num-of-elements' consecutive elements from it:

Permutes a seq by removing 'num-of-elements' consecutive elements from it:
sourceraw docstring

sequence-shrinkclj

(sequence-shrink merge-shrinking-options-f seq-of-trees)

Turn a seq of trees in to a tree of seqs, using the supplied function to merge shrinking options.

Turn a seq of trees in to a tree of seqs, using the supplied function to merge shrinking options.
sourceraw docstring

sequence-shrink-listclj

(sequence-shrink-list seq-of-trees)

Turn a seq of trees in to a tree of seqs, opting to shrink both the seq itself and the elements in the seq during traversal.

Turn a seq of trees in to a tree of seqs, opting to shrink both the seq itself and the elements in the seq during traversal.
sourceraw docstring

sequence-shrink-oneclj

(sequence-shrink-one list-of-trees)

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 only the elements of the list (i.e. the size of the list will always be the same).
sourceraw docstring

shrink-listclj

(shrink-list input-seq)

Produce a smaller permutation of the input seq.

Produce a smaller permutation of the input seq.
sourceraw docstring

shrink-oneclj

(shrink-one shrinking-f input-seq)

Shrink each of the elements in input-seq using the supplied shrinking-function.

Shrink each of the elements in input-seq using the supplied shrinking-function.
sourceraw docstring

shrink-towardsclj

(shrink-towards destination x)

Shrink an number x by edging towards a destination number.

Shrink an number x by edging towards a destination number.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close