ClojureDocs

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

Search results for query: diff

1 to 4 of 4 results. prev page | next page

  • diff

    clojure.data

    • (diff a b)

    Recursively compares a and b, returning a tuple of [things-only-in-a things-only-in-b things-in-both]. Comparison rules: * For equal a and b, return [nil nil a]. * Maps are subdiffed where keys match and values differ. * Sets are never subdiffed. * All sequential things are treated as a...

    5 examples
  • Diff

    clojure.data

      Implementation detail. Subject to change.

      0 examples
    • difference

      clojure.set

      • (difference s1)
      • (difference s1 s2)
      • (difference s1 s2 & sets)

      Return a set that is the first set without elements of the remaining sets

    • diff-similar

      clojure.data

      • (diff-similar a b)

      Implementation detail. Subject to change.

      0 examples
    prev page | next page