Skip to content

greglook/clj-arrangement

Repository files navigation

Arrangement

Circle CI codecov.io cljdoc

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.

About

Micro-library to provide a total-ordering comparator for Clojure.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published