Skip to content
Micro-library to provide a total-ordering comparator for Clojure.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
doc
src/arrangement
test/arrangement
.gitignore
README.md
UNLICENSE
project.clj

README.md

Arrangement

Circle CI codecov.io API codox

A micro-library which provides a total-ordering comparator for Clojure values.

Usage

Library releases are published on Clojars. To use the latest version with Leiningen, add the following dependency to your project definition:

Clojars Project

In your code:

=> (require '[arrangement.core :as order])

=> (sort order/rank
         ['a false 2 :b nil 3.14159 "c" true \d [3 2] #{:one :two} [3 1 2] #{:three}])
[nil false true 2 3.14159 \d "c" :b a [3 1 2] [3 2] #{:three} #{:one :two}]

License

This is free and unencumbered software released into the public domain. See the UNLICENSE file for more information.

You can’t perform that action at this time.