ClojureDocs

Search results for query: pr

51 to 60 of 66 results. prev page | next page

  • assert-predicate

    clojure.test

    • (assert-predicate msg form)

    Returns generic assertion code for any functional predicate. The 'expected' argument to 'report' will contains the original form, the 'actual' argument will contain the form with all its sub-forms evaluated. If the predicate returns false, the 'actual' form will be wrapped in (not...).

    0 examples
  • get-pretty-writer

    clojure.pprint

    • (get-pretty-writer writer)

    Returns the java.io.Writer passed in wrapped in a pretty writer proxy, unless it's already a pretty writer. Generally, it is unnecessary to call this function, since pprint, write, and cl-format all call it if they need to. However if you want the state to be preserved across calls, you will want ...

    0 examples
  • print-length-loop

    clojure.pprint

    • (print-length-loop bindings & body)

    A version of loop that iterates at most *print-length* times. This is designed for use in pretty-printer dispatch functions.

    1 example
  • print-stack-trace

    clojure.stacktrace

    • (print-stack-trace tr)
    • (print-stack-trace tr n)

    Prints a Clojure-oriented stack trace of tr, a Throwable. Prints a maximum of n stack frames (default: unlimited). Does not print chained exceptions (causes).

    2 examples · See also: clojure.core/catch, clojure.core/ex-info
  • print-cause-trace

    clojure.stacktrace

    • (print-cause-trace tr)
    • (print-cause-trace tr n)

    Like print-stack-trace but prints chained exceptions (causes).

  • print-diagnostics

    clojure.test.tap

    • (print-diagnostics data)

    0 examples
  • -cache-protocol-fn

    clojure.core

    • (-cache-protocol-fn pf x c interf)

    0 examples
  • find-protocol-impl

    clojure.core

    • (find-protocol-impl protocol x)

    0 examples
  • print-trace-element

    clojure.stacktrace

    • (print-trace-element e)

    Prints a Clojure-oriented view of one element in a stack trace.

    1 example
  • find-protocol-method

    clojure.core

    • (find-protocol-method protocol methodk x)

    0 examples