[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash 2758ee7 130/316: Alias `-cons-pair-p` to `-cons-pa
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dash 2758ee7 130/316: Alias `-cons-pair-p` to `-cons-pair?` |
Date: |
Mon, 15 Feb 2021 15:57:42 -0500 (EST) |
branch: externals/dash
commit 2758ee751860ffae615335cc7a075430960caaaa
Author: citreu <all_but_last@163.com>
Commit: citreu <all_but_last@163.com>
Alias `-cons-pair-p` to `-cons-pair?`
---
dash.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/dash.el b/dash.el
index 550e1b6..5822361 100644
--- a/dash.el
+++ b/dash.el
@@ -2540,11 +2540,15 @@ the new seed."
(defun -cons-pair? (con)
"Return non-nil if CON is true cons pair.
-That is (A . B) where B is not a list."
+That is (A . B) where B is not a list.
+
+Alias: `-cons-pair-p'"
(declare (pure t) (side-effect-free t))
(and (listp con)
(not (listp (cdr con)))))
+(defalias '-cons-pair-p '-cons-pair?)
+
(defun -cons-to-list (con)
"Convert a cons pair to a list with `car' and `cdr' of the pair
respectively."
(declare (pure t) (side-effect-free t))
@@ -2949,6 +2953,7 @@ structure such as plist or alist."
"-unfold"
"--unfold"
"-cons-pair?"
+ "-cons-pair-p"
"-cons-to-list"
"-value-to-list"
"-tree-mapreduce-from"
- [elpa] externals/dash 4e90743 093/316: Ensure ' in docstring code snippets is not replaced, (continued)
- [elpa] externals/dash 4e90743 093/316: Ensure ' in docstring code snippets is not replaced, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 138c22a 097/316: Merge pull request #261 from basil-conto/blc/common-prefix, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 3789b15 102/316: Change Emacs tested and supported versions., ELPA Syncer, 2021/02/15
- [elpa] externals/dash e9919f6 104/316: Release 2.14.0, ELPA Syncer, 2021/02/15
- [elpa] externals/dash a55452a 107/316: Merge pull request #270 from magnars/travis/use-emacs-26, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 14f76df 118/316: Update docs, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 8af9987 116/316: Add '-each-r' and '-each-r-while'., ELPA Syncer, 2021/02/15
- [elpa] externals/dash 8873749 120/316: Improve and simplify right-associative reductions, ELPA Syncer, 2021/02/15
- [elpa] externals/dash e52909f 110/316: Add smarter key destructuring, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 6302243 127/316: Release 2.15.0, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 2758ee7 130/316: Alias `-cons-pair-p` to `-cons-pair?`,
ELPA Syncer <=
- [elpa] externals/dash 7267556 075/316: Fix infinite loop in -zip/-interleave when called with no arguments., ELPA Syncer, 2021/02/15
- [elpa] externals/dash fd5980e 136/316: Ensure `hash?` expander evaluates its arg only once., ELPA Syncer, 2021/02/15
- [elpa] externals/dash dca7bdc 135/316: Merge pull request #277 from yyoncho/custom-destructoring, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 7854ec7 148/316: Fix quote simplification in docs, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 4ce0e85 149/316: Actually remove mentions of Marmalade, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 0273913 072/316: Update docs, ELPA Syncer, 2021/02/15
- [elpa] externals/dash e9b8611 077/316: Mention that -select and -remove are related, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 8ef3287 078/316: Merge pull request #237 from Wilfred/add-see-also, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 55d8cc9 088/316: Running sum and product can only be computed from non-empty lists, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 1b9061c 090/316: Update docs, ELPA Syncer, 2021/02/15