ClojureDocs

Search results for query: pr

41 to 50 of 71 results. prev page | next page

  • *print-pretty*

    clojure.pprint

      Bind to true if you want write to use pretty printing

      1 example
    • proxy-mappings

      clojure.core

      • (proxy-mappings proxy)

      Takes a proxy instance and returns the proxy's fn map.

      1 example · See also: clojure.core/proxy
    • with-precision

      clojure.core

      • (with-precision precision & exprs)

      Sets the precision and rounding mode to be used for BigDecimal operations. Usage: (with-precision 10 (/ 1M 3)) or: (with-precision 10 :rounding HALF_DOWN (/ 1M 3)) The rounding mode is one of CEILING, FLOOR, HALF_UP, HALF_DOWN, HALF_EVEN, UP, DOWN and UNNECESSARY; it defaults to HALF_UP...

    • print-tap-fail

      clojure.test.tap

      • (print-tap-fail msg)

      Prints a TAP 'not ok' line. msg is a string, with no line breaks

      0 examples · See also: clojure.test.tap/print-tap-pass
    • print-tap-pass

      clojure.test.tap

      • (print-tap-pass msg)

      Prints a TAP 'ok' line. msg is a string, with no line breaks

      0 examples · See also: clojure.test.tap/print-tap-fail
    • print-tap-plan

      clojure.test.tap

      • (print-tap-plan n)

      Prints a TAP plan line like '1..n'. n is the number of tests

      0 examples
    • construct-proxy

      clojure.core

      • (construct-proxy c & ctor-args)

      Takes a proxy class and any arguments for its superclass ctor and creates and returns an instance of the proxy.

    • extend-protocol

      clojure.core

      • (extend-protocol p & specs)

      Useful when you want to provide several implementations of the same protocol all at once. Takes a single protocol and the implementation of that protocol for one or more types. Expands into calls to extend-type: (extend-protocol Protocol AType (foo [x] ...) (bar [x y] ...) ...

    • get-proxy-class

      clojure.core

      • (get-proxy-class & bases)

      Takes an optional single class followed by zero or more interfaces. If not supplied class defaults to Object. Creates an returns an instance of a proxy class derived from the supplied classes. The resulting value is cached and used for any subsequent requests for the same class set. Returns...

      1 example · See also: clojure.core/construct-proxy
    • explain-printer

      clojure.spec.alpha

      • (explain-printer ed)

      Default printer for explain-data. nil indicates a successful validation.

      0 examples