Update dash

This commit is contained in:
Daniel Borchmann 2026-03-21 15:00:43 +01:00
parent 708fc312d2
commit dea0b23e69
No known key found for this signature in database
GPG Key ID: 50EA937BF472ADD1
5 changed files with 22 additions and 10 deletions

View File

@ -1,10 +1,10 @@
;; -*- no-byte-compile: t; lexical-binding: nil -*- ;; -*- no-byte-compile: t; lexical-binding: nil -*-
(define-package "dash" "20250312.1307" (define-package "dash" "20260221.1346"
"A modern list library for Emacs." "A modern list library for Emacs."
'((emacs "24")) '((emacs "24"))
:url "https://github.com/magnars/dash.el" :url "https://github.com/magnars/dash.el"
:commit "fcb5d831fc08a43f984242c7509870f30983c27c" :commit "d3a84021dbe48dba63b52ef7665651e0cf02e915"
:revdesc "fcb5d831fc08" :revdesc "d3a84021dbe4"
:keywords '("extensions" "lisp") :keywords '("extensions" "lisp")
:authors '(("Magnar Sveen" . "magnars@gmail.com")) :authors '(("Magnar Sveen" . "magnars@gmail.com"))
:maintainers '(("Basil L. Contovounesios" . "basil@contovou.net"))) :maintainers '(("Basil L. Contovounesios" . "basil@contovou.net")))

View File

@ -1,11 +1,11 @@
;;; dash.el --- A modern list library for Emacs -*- lexical-binding: t -*- ;;; dash.el --- A modern list library for Emacs -*- lexical-binding: t -*-
;; Copyright (C) 2012-2025 Free Software Foundation, Inc. ;; Copyright (C) 2012-2026 Free Software Foundation, Inc.
;; Author: Magnar Sveen <magnars@gmail.com> ;; Author: Magnar Sveen <magnars@gmail.com>
;; Maintainer: Basil L. Contovounesios <basil@contovou.net> ;; Maintainer: Basil L. Contovounesios <basil@contovou.net>
;; Package-Version: 20250312.1307 ;; Package-Version: 20260221.1346
;; Package-Revision: fcb5d831fc08 ;; Package-Revision: d3a84021dbe4
;; Package-Requires: ((emacs "24")) ;; Package-Requires: ((emacs "24"))
;; Keywords: extensions, lisp ;; Keywords: extensions, lisp
;; URL: https://github.com/magnars/dash.el ;; URL: https://github.com/magnars/dash.el
@ -27,7 +27,19 @@
;; A modern list API for Emacs. ;; A modern list API for Emacs.
;; ;;
;; See its overview at https://github.com/magnars/dash.el#functions. ;; Dash is a utility library that affords functional programming
;; patterns inspired by Clojure, particularly in the realm of list
;; manipulation. Examples include higher-order functions (map, reduce,
;; filter) and derivatives (drop, flatten, sum); function combinators
;; (partial application, argument flipping, composition); and threading
;; and anaphoric macros with destructuring support.
;;
;; Dash is particularly useful in providing a broad and consistent API
;; across many Emacs versions.
;;
;; Documentation and examples are in the manual at Info node `(dash) Top'
;; and on the web at https://elpa.gnu.org/packages/doc/dash.html, as well
;; as in the projects README.md file.
;;; Code: ;;; Code:
@ -1882,7 +1894,7 @@ LISTS, it is generally recommended to use `-unzip-lists' instead."
"Return an infinite circular copy of LIST. "Return an infinite circular copy of LIST.
The returned list cycles through the elements of LIST and repeats The returned list cycles through the elements of LIST and repeats
from the beginning." from the beginning."
(declare (pure t) (side-effect-free t)) (declare (side-effect-free t))
;; Also works with sequences that aren't lists. ;; Also works with sequences that aren't lists.
(let ((newlist (append list ()))) (let ((newlist (append list ())))
(nconc newlist newlist))) (nconc newlist newlist)))

View File

@ -2,7 +2,7 @@ This is dash.info, produced by makeinfo version 6.8 from dash.texi.
This manual is for Dash version 2.20.0. This manual is for Dash version 2.20.0.
Copyright © 20122025 Free Software Foundation, Inc. Copyright © 20122026 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License, document under the terms of the GNU Free Documentation License,
@ -24,7 +24,7 @@ Dash
This manual is for Dash version 2.20.0. This manual is for Dash version 2.20.0.
Copyright © 20122025 Free Software Foundation, Inc. Copyright © 20122026 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License, document under the terms of the GNU Free Documentation License,