Medley is a lightweight Clojure/ClojureScript library of useful, mostly pure functions that are "missing" from clojure.core.
Medley has a tighter focus than flatland/useful or Plumbing, and limits itself to a small set of general-purpose functions.
Add the following dependency to your deps.edn file:
medley/medley {:mvn/version "1.4.0"}
Or to your Leiningen project file:
[medley "1.4.0"]
In 0.7.0 the minimum Clojure version was changed from 1.5.1 to 1.7.0
to take advantage of reader conditionals. The update
function
has also been removed, as it is now present in clojure.core
.
In 0.6.0 the type signature of greatest
and least
was changed to
be more like max
and min
in Clojure core. If you're upgrading from
a version prior to 0.6.0, please update your usage of greatest
and
least
.
Copyright © 2022 James Reeves
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.