weavejester/medley

repository·master·Indexed 21 days ago

https://github.com/weavejester/medley

A lightweight Clojure and ClojureScript library providing a curated set of general-purpose, mostly pure functions that complement clojure.core.

Tokens
312
Snippets
1
Records
3
Agent score
25%

What's inside medley

  1. What is Medley?

    master
    Medley is a lightweight Clojure and ClojureScript library providing a small set of general-purpose, mostly pure functions that are not included in clojure.core. It is designed to be more focused than similar libraries like flatland/useful or Plumbing.
  2. Install Medley

    master

    Medley can be installed using Clojure's deps.edn, Leiningen, or deps-clr.edn depending on your project configuration.

    ;; deps.edn
    dev.weavejester/medley {:mvn/version "1.10.0"}
    
    ;; Leiningen project.clj
    [dev.weavejester/medley "1.10.0"]
    
    ;; deps-clr.edn
    io.github.weavejester/medley {:git/tag "1.10.0" :git/sha "7bf2619"}
  3. Migrate to Medley 1.x (Breaking Changes)

    master

    If you are upgrading from older versions of Medley, be aware of the following breaking changes:

    • From 0.7.0: The update function was removed because it is now available in clojure.core. The minimum Clojure version was also raised to 1.7.0 to support reader conditionals.
    • From 0.6.0: The type signatures for greatest and least were changed to align with the behavior of max and min in clojure.core.