Generate unique fingerprints for Clojure data structures
Clojure
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/whorl
test/whorl Added fingerprint function Jun 24, 2013
.gitignore Initial commit Jun 23, 2013
README.md Filled out README Jun 24, 2013
project.clj Released 0.0.1 Jun 24, 2013

README.md

Whorl

Whorl is a library for generating unique fingerprints for Clojure data structures. Equivalent data structures will always produce the same fingerprint.

Only basic Clojure types are supported so far. Records and types will produce unpredictable results. This library should be considered experimental and in-progress.

Installation

To install, add the following to your project :dependencies:

[whorl "0.0.1"]

Usage

Use the fingerprint function to generate a fingerprint for a data structure.

user=> (use 'whorl.core)
nil
user=> (fingerprint {:x 1})
"e3b3666589d6514c9b10d677bf7320426cfbab2c"

License

Copyright © 2013 James Reeves

Distributed under the Eclipse Public License, the same as Clojure.