[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash fb75a7f 146/439: Add @nicferrier to list of contri
From: |
Phillip Lord |
Subject: |
[elpa] externals/dash fb75a7f 146/439: Add @nicferrier to list of contributors. |
Date: |
Tue, 04 Aug 2015 20:27:18 +0000 |
branch: externals/dash
commit fb75a7fe19b0c79d4d358fdbfc14fa596c1393cb
Author: Magnar Sveen <address@hidden>
Commit: Magnar Sveen <address@hidden>
Add @nicferrier to list of contributors.
---
README.md | 16 ++++++++++++++++
dash.el | 1 +
readme-template.md | 1 +
3 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md
index 469f77d..eef76a9 100644
--- a/README.md
+++ b/README.md
@@ -23,6 +23,7 @@ Or you can just dump `dash.el` in your load path somewhere.
* [-flatten](#-flatten-l) `(l)`
* [-concat](#-concat-rest-lists) `(&rest lists)`
* [-mapcat](#-mapcat-fn-list) `(fn list)`
+* [-cons*](#-cons-rest-args) `(&rest args)`
* [-any?](#-any-pred-list) `(pred list)`
* [-all?](#-all-pred-list) `(pred list)`
* [-none?](#-none-pred-list) `(pred list)`
@@ -216,6 +217,20 @@ Thus function `fn` should return a collection.
(--mapcat (list 0 it) '(1 2 3)) ;; => '(0 1 0 2 0 3)
```
+### -cons* `(&rest args)`
+
+Makes a new list from the elements of `args`.
+
+The last 2 members of `args` are used as the final cons of the
+result so if the final member of `args` is not a list the result is
+a dotted list.
+
+```cl
+(-cons* 1 2) ;; => '(1 . 2)
+(-cons* 1 2 3) ;; => '(1 2 . 3)
+(-cons* 1) ;; => 1
+```
+
### -any? `(pred list)`
Returns t if (`pred` x) is non-nil for any x in `list`, else nil.
@@ -631,6 +646,7 @@ Change `readme-template.md` or `examples-to-docs.el`
instead.
- [Takafumi Arakaki](https://github.com/tkf) contributed `-group-by`.
- [tali713](https://github.com/tali713) is the author of `-applify`.
- [Víctor M. Valenzuela](https://github.com/vemv) contributed `-repeat`.
+ - [Nic Ferrier](https://github.com/nicferrier) contributed `-cons*`.
Thanks!
diff --git a/dash.el b/dash.el
index 2210506..aa5358e 100644
--- a/dash.el
+++ b/dash.el
@@ -697,6 +697,7 @@ Returns nil if N is less than 1."
"-contains?"
"-contains-p"
"-repeat"
+ "-cons*"
))
(special-variables '(
"it"
diff --git a/readme-template.md b/readme-template.md
index ce63c28..e56c4bf 100644
--- a/readme-template.md
+++ b/readme-template.md
@@ -75,6 +75,7 @@ Change `readme-template.md` or `examples-to-docs.el` instead.
- [Takafumi Arakaki](https://github.com/tkf) contributed `-group-by`.
- [tali713](https://github.com/tali713) is the author of `-applify`.
- [Víctor M. Valenzuela](https://github.com/vemv) contributed `-repeat`.
+ - [Nic Ferrier](https://github.com/nicferrier) contributed `-cons*`.
Thanks!
- [elpa] externals/dash 78390f6 139/439: Merge pull request #12 from vemv/master, (continued)
- [elpa] externals/dash 78390f6 139/439: Merge pull request #12 from vemv/master, Phillip Lord, 2015/08/04
- [elpa] externals/dash 0731333 140/439: Add @vemv to list of contributors, Phillip Lord, 2015/08/04
- [elpa] externals/dash 002e4cd 132/439: Add tali713 to list of contributors., Phillip Lord, 2015/08/04
- [elpa] externals/dash 98a82ca 142/439: DRY up -repeat with --dotimes, Phillip Lord, 2015/08/04
- [elpa] externals/dash 8fe15ed 141/439: Group -repeat with -dotimes, Phillip Lord, 2015/08/04
- [elpa] externals/dash e4521af 136/439: Add -repeat, Phillip Lord, 2015/08/04
- [elpa] externals/dash e083087 145/439: Merge pull request #13 from nicferrier/master, Phillip Lord, 2015/08/04
- [elpa] externals/dash 50e9f46 144/439: -cons* for making improper lists., Phillip Lord, 2015/08/04
- [elpa] externals/dash a196ac1 137/439: Fix -repeat, Phillip Lord, 2015/08/04
- [elpa] externals/dash da8dc62 138/439: Preserve newline at new-keywords, Phillip Lord, 2015/08/04
- [elpa] externals/dash fb75a7f 146/439: Add @nicferrier to list of contributors.,
Phillip Lord <=
- [elpa] externals/dash 5161361 148/439: Clarify use of anaphoric form of -zip-with, Phillip Lord, 2015/08/04
- [elpa] externals/dash a7ee06e 149/439: Remove extra --separate definition, Phillip Lord, 2015/08/04
- [elpa] externals/dash f7a828f 147/439: Add -zip and -zip-with, Phillip Lord, 2015/08/04
- [elpa] externals/dash 9c5fbc5 143/439: nil is the default binding in let forms, Phillip Lord, 2015/08/04
- [elpa] externals/dash 3f604cd 151/439: Add -count, Phillip Lord, 2015/08/04
- [elpa] externals/dash cc33c2f 153/439: Stop integration tests for Emacs 23, Phillip Lord, 2015/08/04
- [elpa] externals/dash c218e9f 150/439: -split-at/with now makes just one pass over list, Phillip Lord, 2015/08/04
- [elpa] externals/dash adfafcb 152/439: Add -partition-by-header, Phillip Lord, 2015/08/04
- [elpa] externals/dash a4b70f9 154/439: [magnars/dash.el#18] implementing -slice, Phillip Lord, 2015/08/04
- [elpa] externals/dash dac28b0 155/439: Merge pull request #19 from Wilfred/master, Phillip Lord, 2015/08/04