(beginning-str n s)
Return the first n characters of the string.
Return the first n characters of the string.
(clean-hooks st)
Remove hook functions from stack.
Remove hook functions from stack.
(clean-value local value)
Prototype of a function that cleans up a value for printing. Returns zprint options and/or a cleaned.
Prototype of a function that cleans up a value for printing. Returns zprint options and/or a cleaned.
(clean-value-alt local value)
Prototype of a function that cleans up a value for printing.
Prototype of a function that cleans up a value for printing.
(filter-pattern-seq pattern-seq f seq)
Take two seqs, one a seq of patterns, and one a seq to match. Remove all of the elements of any of the patterns that appear in the seq to match. See seq-starts-with? for how patterns are used.
Take two seqs, one a seq of patterns, and one a seq to match. Remove all of the elements of any of the patterns that appear in the seq to match. See seq-starts-with? for how patterns are used.
(seq-compare pattern element)
Take two elements of a seq, and if they compare successfully, return true. If the pattern is not a collection, they must be = unless the pattern is a string containing *, in which case it always matches. If the pattern is a collection, then the element is assumed to be a string, and it is split by $, and then if it starts with the collection which is the pattern it matches.
Take two elements of a seq, and if they compare successfully, return true. If the pattern is not a collection, they must be = unless the pattern is a string containing *, in which case it always matches. If the pattern is a collection, then the element is assumed to be a string, and it is split by $, and then if it starts with the collection which is the pattern it matches.
(seq-starts-with-any? pattern-seq seq-to-match)
Take two seqs. The first is a seq of patterns, and the second one just a seq. If any of the patterns in the first seq match the second seq, then return the length of the pattern that matched. See seq-compare for detail of how seqs are compared.
Take two seqs. The first is a seq of patterns, and the second one just a seq. If any of the patterns in the first seq match the second seq, then return the length of the pattern that matched. See seq-compare for detail of how seqs are compared.
(seq-starts-with? seq1 seq2)
Take two seqs, and if the first one is the beginning of the second one, return true. See seq-compare for details of the comparison.
Take two seqs, and if the first one is the beginning of the second one, return true. See seq-compare for details of the comparison.
(zprint-options binding-vec)
Input is a binding vector with params and actual arguments. Output is a map of zprint options to use to print the binding vector, or nil for no change to existing options.
Input is a binding vector with params and actual arguments. Output is a map of zprint options to use to print the binding vector, or nil for no change to existing options.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close