Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/weavejester/medley

A lightweight library of useful Clojure functions
https://github.com/weavejester/medley

clojure utility-library

Last synced: about 1 month ago
JSON representation

A lightweight library of useful Clojure functions

Lists

README

        

# Medley [![Build Status](https://github.com/weavejester/medley/actions/workflows/test.yml/badge.svg)](https://github.com/weavejester/medley/actions/workflows/test.yml)

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.

[flatland/useful]: https://github.com/flatland/useful
[plumbing]: https://github.com/plumatic/plumbing

## Installation

Add the following dependency to your deps.edn file:

dev.weavejester/medley {:mvn/version "1.8.0"}

Or to your Leiningen project file:

[dev.weavejester/medley "1.8.0"]

## Documentation

* [API Docs](http://weavejester.github.io/medley/medley.core.html)

## Ports

* [Medley for the CLR](https://github.com/E-A-Griffin/medley) is kindly
maintained by [Emma Griffin](https://github.com/E-A-Griffin).

## Pre-1.0 Breaking Changes

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`.

[reader conditionals]: http://dev.clojure.org/display/design/Reader+Conditionals

## License

Copyright © 2023 James Reeves

Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.