[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash 0351ca3 156/426: Add Wilfred Hughes to list of con
From: |
Phillip Lord |
Subject: |
[elpa] externals/dash 0351ca3 156/426: Add Wilfred Hughes to list of contributors. |
Date: |
Tue, 04 Aug 2015 19:37:23 +0000 |
branch: externals/dash
commit 0351ca360137fe411c8704431418c94dbdb814cc
Author: Magnar Sveen <address@hidden>
Commit: Magnar Sveen <address@hidden>
Add Wilfred Hughes to list of contributors.
---
README.md | 13 +++++++++++++
readme-template.md | 1 +
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md
index 8e2680d..845ab17 100644
--- a/README.md
+++ b/README.md
@@ -33,6 +33,7 @@ Or you can just dump `dash.el` in your load path somewhere.
* [-each-while](#-each-while-list-pred-fn) `(list pred fn)`
* [-dotimes](#-dotimes-num-fn) `(num fn)`
* [-repeat](#-repeat-n-x) `(n x)`
+* [-slice](#-slice-list-from-optional-to) `(list from &optional to)`
* [-take](#-take-n-list) `(n list)`
* [-drop](#-drop-n-list) `(n list)`
* [-take-while](#-take-while-pred-list) `(pred list)`
@@ -329,6 +330,17 @@ Returns nil if `n` is less than 1.
(-repeat 0 :a) ;; => nil
```
+### -slice `(list from &optional to)`
+
+Return copy of `list`, starting from index `from` to index `to`.
+`from` or `to` may be negative.
+
+```cl
+(-slice '(1 2 3 4 5) 1) ;; => '(2 3 4 5)
+(-slice '(1 2 3 4 5) 0 3) ;; => '(1 2 3)
+(-slice '(1 2 3 4 5) 1 -1) ;; => '(2 3 4)
+```
+
### -take `(n list)`
Returns a new list of the first `n` items in `list`, or all items if there are
fewer than `n`.
@@ -702,6 +714,7 @@ Change `readme-template.md` or `examples-to-docs.el`
instead.
- [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*`.
+ - [Wilfred Hughes](https://github.com/Wilfred) contributed `-slice`.
Thanks!
diff --git a/readme-template.md b/readme-template.md
index 6a60fb7..b07a9e4 100644
--- a/readme-template.md
+++ b/readme-template.md
@@ -76,6 +76,7 @@ Change `readme-template.md` or `examples-to-docs.el` instead.
- [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*`.
+ - [Wilfred Hughes](https://github.com/Wilfred) contributed `-slice`.
Thanks!
- [elpa] externals/dash 98a82ca 142/426: DRY up -repeat with --dotimes, (continued)
- [elpa] externals/dash 98a82ca 142/426: DRY up -repeat with --dotimes, Phillip Lord, 2015/08/04
- [elpa] externals/dash 50e9f46 144/426: -cons* for making improper lists., Phillip Lord, 2015/08/04
- [elpa] externals/dash e083087 145/426: Merge pull request #13 from nicferrier/master, Phillip Lord, 2015/08/04
- [elpa] externals/dash 5161361 148/426: Clarify use of anaphoric form of -zip-with, Phillip Lord, 2015/08/04
- [elpa] externals/dash 0731333 140/426: Add @vemv to list of contributors, Phillip Lord, 2015/08/04
- [elpa] externals/dash a7ee06e 149/426: Remove extra --separate definition, Phillip Lord, 2015/08/04
- [elpa] externals/dash 3f604cd 151/426: Add -count, Phillip Lord, 2015/08/04
- [elpa] externals/dash fb75a7f 146/426: Add @nicferrier to list of contributors., Phillip Lord, 2015/08/04
- [elpa] externals/dash cc33c2f 153/426: Stop integration tests for Emacs 23, Phillip Lord, 2015/08/04
- [elpa] externals/dash adfafcb 152/426: Add -partition-by-header, Phillip Lord, 2015/08/04
- [elpa] externals/dash 0351ca3 156/426: Add Wilfred Hughes to list of contributors.,
Phillip Lord <=
- [elpa] externals/dash a4b70f9 154/426: [magnars/dash.el#18] implementing -slice, Phillip Lord, 2015/08/04
- [elpa] externals/dash bd942e1 158/426: inhibit dev from being added to the load-path, Phillip Lord, 2015/08/04
- [elpa] externals/dash c218e9f 150/426: -split-at/with now makes just one pass over list, Phillip Lord, 2015/08/04
- [elpa] externals/dash d7174ed 160/426: Handle cons-cells properly in -flatten, Phillip Lord, 2015/08/04
- [elpa] externals/dash a559a80 161/426: Added -last, Phillip Lord, 2015/08/04
- [elpa] externals/dash f7a828f 147/426: Add -zip and -zip-with, Phillip Lord, 2015/08/04
- [elpa] externals/dash dac28b0 155/426: Merge pull request #19 from Wilfred/master, Phillip Lord, 2015/08/04
- [elpa] externals/dash a40fc00 162/426: Merge pull request #23 from Fuco1/last, Phillip Lord, 2015/08/04
- [elpa] externals/dash a1b04d8 163/426: Less implementation specific docs for -mapcat, Phillip Lord, 2015/08/04
- [elpa] externals/dash 6ffdc93 157/426: Release 1.1.0, Phillip Lord, 2015/08/04