1 to 10 of 20 results. prev page | next page
Creates and interns or locates a global var with the name of symbol and a namespace of the value of the current namespace (*ns*). See http://clojure.org/special_forms for more information.
Same as (def name (fn [params* ] exprs*)) or (def name (fn ([params* ] exprs*)+)) with any doc-string or attrs added to the var metadata. prepost-map defines a map with optional keys :pre and :post that contain collections of pre or post conditions.
Given a namespace-qualified keyword or resolvable symbol k, and a spec, spec-name, predicate or regex-op makes an entry in the registry mapping k to the spec. Use nil to remove an entry in the registry for k.
same as defn, yielding non-public def
Define a committed choice goal. See condu.
Define a soft cut goal. See conda.
Define a goal fn. Supports pattern matching. All patterns will be tried. See conde.
(deftype name [fields*] options* specs*) Options are expressed as sequential keywords and arguments (in any order). Supported options: :load-ns - if true, importing the type class will cause the namespace in which the type was defined to be loaded. Defaults to fals...
defs name to have the root value of the expr iff the named var has no root value, else expr is unevaluated
Defines a test function with no arguments. Test functions may call other tests, so tests may be composed. If you compose tests, you should also define a function named test-ns-hook; run-tests will call test-ns-hook instead of testing all vars. Note: Actually, the test body goes in the :te...