API for clojure.data - Clojure v1.13.0 (in development)

by Stuart Halloway

Full namespace name: clojure.data

Overview

Non-core data functions.

Protocols



Diff

Protocol
Implementation detail. Subject to change.
Known implementations: java.util.List, java.util.Map, java.util.Set, nil, Object

diff-similar

function
Usage: (diff-similar a b)
Implementation detail. Subject to change.

      Added in Clojure version 1.3
Added in Clojure version 1.3
Source


EqualityPartition

Protocol
Implementation detail. Subject to change.
Known implementations: java.util.List, java.util.Map, java.util.Set, nil, Object

equality-partition

function
Usage: (equality-partition x)
Implementation detail. Subject to change.

      Added in Clojure version 1.3
Added in Clojure version 1.3
Source

Public Variables and Functions



diff

function
Usage: (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 associative collections
  by their indexes, with results returned as vectors.
* Everything else (including strings!) is treated as
  an atom and compared for equality.

    Added in Clojure version 1.3
Source
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy