(checker m)
creates a 'hara.test.common.Checker' object
(checker {:tag :anything :fn (fn [x] true)}) => hara.test.common.Checker
creates a 'hara.test.common.Checker' object (checker {:tag :anything :fn (fn [x] true)}) => hara.test.common.Checker
(checker? x)
checks to see if a datastructure is a 'hara.test.common.Checker'
(checker? (checker {:tag :anything :fn (fn [x] true)})) => true
checks to see if a datastructure is a 'hara.test.common.Checker' (checker? (checker {:tag :anything :fn (fn [x] true)})) => true
(evaluate {:keys [form]})
converts a form to a result
(->> (evaluate {:form '(+ 1 2 3)}) (into {})) => (contains {:status :success, :data 6, :form '(+ 1 2 3), :from :evaluate})
converts a form to a result (->> (evaluate {:form '(+ 1 2 3)}) (into {})) => (contains {:status :success, :data 6, :form '(+ 1 2 3), :from :evaluate})
(function-string func)
returns the string representation of a function
(function-string every?) => "every?"
(function-string reset!) => "reset!"
returns the string representation of a function (function-string every?) => "every?" (function-string reset!) => "reset!"
(op m)
creates an 'op' for evaluation
(op {:type :form :form '(+ 1 1)}) => hara.test.common.Op
creates an 'op' for evaluation (op {:type :form :form '(+ 1 1)}) => hara.test.common.Op
(op? x)
checks to see if a datastructure is an 'Op'
(op? (op {:type :form :form '(+ 1 1)})) => true
checks to see if a datastructure is an 'Op' (op? (op {:type :form :form '(+ 1 1)})) => true
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close