[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash a743ae3 153/316: Merge pull request #313 from Swif
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dash a743ae3 153/316: Merge pull request #313 from SwiftLawnGnome/master |
Date: |
Mon, 15 Feb 2021 15:57:47 -0500 (EST) |
branch: externals/dash
commit a743ae3da1d5869434c6f262bbe45ef30d87cb9c
Merge: f3e9cd2 ce1294b
Author: Matus Goljer <matus.goljer@gmail.com>
Commit: GitHub <noreply@github.com>
Merge pull request #313 from SwiftLawnGnome/master
Make -inits not destroy its argument
---
dash.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/dash.el b/dash.el
index c86c116..22ebbd5 100644
--- a/dash.el
+++ b/dash.el
@@ -2341,7 +2341,11 @@ or with `-compare-fn' if that's non-nil."
(defun -inits (list)
"Return all prefixes of LIST."
- (nreverse (-map 'reverse (-tails (nreverse list)))))
+ (let ((res (list list)))
+ (setq list (reverse list))
+ (while list
+ (push (reverse (!cdr list)) res))
+ res))
(defun -tails (list)
"Return all suffixes of LIST"
- [elpa] externals/dash 93e0465 137/316: Remove dependecy `macroexp`, (continued)
- [elpa] externals/dash 93e0465 137/316: Remove dependecy `macroexp`, ELPA Syncer, 2021/02/15
- [elpa] externals/dash a358b79 143/316: Speed up `-uniq` with hash-table., ELPA Syncer, 2021/02/15
- [elpa] externals/dash 77f3bf4 142/316: Merge pull request #302 from bbatsov/patch-1, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 38dc929 222/316: Fix, improve, and extend anaphoric folds, ELPA Syncer, 2021/02/15
- [elpa] externals/dash d308676 225/316: Fix signal argument and case where start is null, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 994cda9 228/316: Simplify -cons-pair?, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 11907f4 145/316: Speed up `-uniq` with hash-table. (#305), ELPA Syncer, 2021/02/15
- [elpa] externals/dash ad21e13 146/316: Ignore all .elc and TAGS files, ELPA Syncer, 2021/02/15
- [elpa] externals/dash fae51b5 147/316: Make -inits not destroy its argument, ELPA Syncer, 2021/02/15
- [elpa] externals/dash ce1294b 152/316: Optimize non-destructive -inits, ELPA Syncer, 2021/02/15
- [elpa] externals/dash a743ae3 153/316: Merge pull request #313 from SwiftLawnGnome/master,
ELPA Syncer <=
- [elpa] externals/dash 62707a6 154/316: Avoid interning unused symbols in destructuring, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 9631947 155/316: Merge pull request #317 from cireu/feat/intern-soft, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 0ee27a4 157/316: Clarify docs on -zip-pair future behaviour, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 5f65fdf 159/316: Merge pull request #321 from wbolster/some-macro-indentation, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 13e5366 161/316: Merge pull request #323 from tarsiiformes/typos, ELPA Syncer, 2021/02/15
- [elpa] externals/dash c645ed6 162/316: use bash for pre-commit script, ELPA Syncer, 2021/02/15
- [elpa] externals/dash ea7adeb 165/316: Merge pull request #328 from conao3/github-actions, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 42862f3 164/316: Use github actions instead of travis, ELPA Syncer, 2021/02/15
- [elpa] externals/dash feea52d 174/316: Fix typo, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 0f238a9 177/316: Merge pull request #346 from jcs-PR/badge, ELPA Syncer, 2021/02/15