(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
(dont-shrink tree-with-shrink)
takes the root of an shrinking tree as tree
takes the root of an shrinking tree as tree
(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.
(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:
(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.
(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.
(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).
(shrink-list input-seq)
Produce a smaller permutation of the input seq.
Produce a smaller permutation of the input seq.
(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.
(shrink-towards destination x)
Shrink an number x by edging towards a destination number.
Shrink an number x by edging towards a destination number.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close