(collection-like? x)
Extend coll? to include strings.
Extend coll? to include strings.
(expected-fits? actual expected)
Could expected fit as a subsequence of actual?
Could expected fit as a subsequence of actual?
(inexact-checker? checker)
Can the checker potentially match non-unique elements in a seq? (Ex: regex #'a+' can match 'a' and 'aa'.)
Can the checker potentially match non-unique elements in a seq? (Ex: regex #'a+' can match 'a' and 'aa'.)
(noted-falsehood & strings)
Produce a partially constructed chatty falsehood that contains a :notes key with the strings.
Produce a partially constructed chatty falsehood that contains a :notes key with the strings.
(right-hand-singleton? x)
The kind of thing that, in (contains X), means (contains [X])
The kind of thing that, in (contains X), means (contains [X])
(total-match? comparison)
Have all the expected elements been discovered?
Have all the expected elements been discovered?
(try-re re x f)
Use the function (re-find or re-matches) to apply re to the thing. If function blows up, return a chatty failure about it.
Use the function (re-find or re-matches) to apply re to the thing. If function blows up, return a chatty failure about it.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close