ClojureDocs

Clojure/Conj 2026 — Charlotte, NC — Sept 30 - Oct 2 Learn More & Get Tickets →

Search results for query: re

91 to 100 of 124 results. prev page | next page

  • ensure-reduced

    clojure.core

    • (ensure-reduced x)

    If x is already reduced?, returns it, else returns (reduced x)

  • with-redefs-fn

    clojure.core

    • (with-redefs-fn binding-map func)

    Temporarily redefines Vars during a call to func. Each val of binding-map will replace the root value of its key which must be a Var. After func is called with no args, the root values of all the Vars will be set back to their old values. These temporary changes will be visible in all thr...

    3 examples · See also: clojure.core/with-redefs
  • repl-exception

    clojure.main

    • (repl-exception throwable)

    Returns the root cause of throwables

    0 examples
  • IEEE-remainder

    clojure.math

    • (IEEE-remainder dividend divisor)

    Returns the remainder per IEEE 754 such that remainder = dividend - divisor * n where n is the integer closest to the exact value of dividend / divisor. If two integers are equally close, then n is the even one. If the remainder is zero, sign will match dividend. If dividend or divisor i...

    2 examples · See also: clojure.core/mod, clojure.core/rem
  • git-count-revs

    clojure.tools.build.api

    • (git-count-revs {:keys [dir git-command path], :or {git-command "git"}, :as params})

    Shells out to git and returns count of commits on this branch: git rev-list HEAD --count Options: :dir - dir to invoke this command from, default = current directory :git-command - git command to use, default = "git" :path - path to count commits for relative to dir

    0 examples
  • ref-min-history

    clojure.core

    • (ref-min-history ref)
    • (ref-min-history ref n)

    Gets the min-history of a ref, or sets it and returns the ref

  • ref-max-history

    clojure.core

    • (ref-max-history ref)
    • (ref-max-history ref n)

    Gets the max-history of a ref, or sets it and returns the ref

  • *print-readably*

    clojure.core

      When set to logical false, strings and characters will be printed with non-alphanumeric characters converted to the appropriate escape sequences. Defaults to true

      1 example
    • with-read-known

      clojure.main

      • (with-read-known & body)

      Evaluates body with *read-eval* set to a "known" value, i.e. substituting true for :unknown if necessary.

      0 examples
    • prewalk-replace

      clojure.walk

      • (prewalk-replace smap form)

      Recursively transforms form by replacing keys in smap with their values. Like clojure/replace but works on any data structure. Does replacement at the root of the tree first.