[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash 3802890 082/439: Simplify !concat
From: |
Phillip Lord |
Subject: |
[elpa] externals/dash 3802890 082/439: Simplify !concat |
Date: |
Tue, 04 Aug 2015 20:26:39 +0000 |
branch: externals/dash
commit 3802890436c8468212932cc388edc352f1ddfdca
Author: Magnar Sveen <address@hidden>
Commit: Magnar Sveen <address@hidden>
Simplify !concat
---
bang.el | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bang.el b/bang.el
index 91918aa..aab0a48 100644
--- a/bang.el
+++ b/bang.el
@@ -133,11 +133,11 @@ Alias: `!reject'"
(defun !concat (&rest lists)
"Returns a new list with the concatenation of the elements in
the supplied LISTS."
- (apply 'append (append lists '(nil))))
+ (apply 'append lists))
(defmacro !!mapcat (form list)
"Anaphoric form of `!mapcat'."
- `(apply '!concat (!!map ,form ,list)))
+ `(apply 'append (!!map ,form ,list)))
(defun !mapcat (fn list)
"Returns the result of applying concat to the result of applying map to FN
and LIST.
- [elpa] externals/dash 66ffaa6 072/439: Add !interpose, (continued)
- [elpa] externals/dash 66ffaa6 072/439: Add !interpose, Phillip Lord, 2015/08/04
- [elpa] externals/dash ec6a85f 074/439: Add threading macro !!-> with `it` as placeholder., Phillip Lord, 2015/08/04
- [elpa] externals/dash 9410f7e 073/439: Add !replace-where, Phillip Lord, 2015/08/04
- [elpa] externals/dash cd2a793 069/439: Run travis-ci on both E23 and E24, Phillip Lord, 2015/08/04
- [elpa] externals/dash 4e76865 075/439: Add !take-while, Phillip Lord, 2015/08/04
- [elpa] externals/dash 6238f8f 077/439: Add !split-with, Phillip Lord, 2015/08/04
- [elpa] externals/dash b9b6330 079/439: Add !take, Phillip Lord, 2015/08/04
- [elpa] externals/dash 8c75026 080/439: Add !drop, Phillip Lord, 2015/08/04
- [elpa] externals/dash 123eaaa 078/439: Docs: Refer to !replace-where from !!replace-where., Phillip Lord, 2015/08/04
- [elpa] externals/dash ec835e4 081/439: Add !split-at, Phillip Lord, 2015/08/04
- [elpa] externals/dash 3802890 082/439: Simplify !concat,
Phillip Lord <=
- [elpa] externals/dash fea1aa3 086/439: Add -interleave, Phillip Lord, 2015/08/04
- [elpa] externals/dash 0dab44c 084/439: Add -flatten, Phillip Lord, 2015/08/04
- [elpa] externals/dash 82a12a2 076/439: Add !drop-while, Phillip Lord, 2015/08/04
- [elpa] externals/dash 9ff9fd0 085/439: Move functions that are not strictly list related last., Phillip Lord, 2015/08/04
- [elpa] externals/dash 38cc9e7 088/439: Simplify -interleave with -none?, Phillip Lord, 2015/08/04
- [elpa] externals/dash 4b5e24b 087/439: Docs: move -any? -all? -none? and -each up., Phillip Lord, 2015/08/04
- [elpa] externals/dash 0e5c69b 089/439: Docs: more concise example for anaphoric functions., Phillip Lord, 2015/08/04
- [elpa] externals/dash f8d74ff 091/439: Docs: update example text to match example code., Phillip Lord, 2015/08/04
- [elpa] externals/dash b0da7b2 093/439: Declare macros before using them., Phillip Lord, 2015/08/04
- [elpa] externals/dash 6931d8a 094/439: Remove Melpa from installation while waiting for it to be included., Phillip Lord, 2015/08/04