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:
dev.weavejester/medley {:mvn/version "1.8.1"}
Or to your Leiningen project file:
[dev.weavejester/medley "1.8.1"]
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 © 2024 James Reeves
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.