[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash 4b805e1 041/316: Update README
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dash 4b805e1 041/316: Update README |
Date: |
Mon, 15 Feb 2021 15:57:21 -0500 (EST) |
branch: externals/dash
commit 4b805e13559256679ee03ffa8c933f310d36eb34
Author: Matus Goljer <matus.goljer@gmail.com>
Commit: Matus Goljer <matus.goljer@gmail.com>
Update README
---
README.md | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index f0d64a6..860be80 100644
--- a/README.md
+++ b/README.md
@@ -327,7 +327,7 @@ Return a new list consisting of the result of applying `fn`
to the items in `lis
#### -map-when `(pred rep list)`
-Return a new list where the elements in `list` that does not match the `pred`
function
+Return a new list where the elements in `list` that do not match the `pred`
function
are unchanged, and where the elements in `list` that do match the `pred`
function are mapped
through the `rep` function.
@@ -434,6 +434,8 @@ Thus function `fn` should return a list.
Create a shallow copy of `list`.
+(fn `list`)
+
```el
(-copy '(1 2 3)) ;; => '(1 2 3)
(let ((a '(1 2 3))) (eq a (-copy a))) ;; => nil
@@ -564,6 +566,8 @@ Return the tail of `list` without the first `n` items.
See also: [`-drop-last`](#-drop-last-n-list)
+(fn `n` `list`)
+
```el
(-drop 3 '(1 2 3 4 5)) ;; => '(4 5)
(-drop 17 '(1 2 3 4 5)) ;; => '()
@@ -1660,6 +1664,8 @@ Return the last x in `list` where (`pred` x) is non-nil,
else nil.
Return the first item of `list`, or nil on an empty list.
+(fn `list`)
+
```el
(-first-item '(1 2 3)) ;; => 1
(-first-item nil) ;; => nil
- [elpa] externals/dash 937f8a1 026/316: Update documentation, (continued)
- [elpa] externals/dash 937f8a1 026/316: Update documentation, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 012b3bc 024/316: Docstrings grammar fixes (#186), ELPA Syncer, 2021/02/15
- [elpa] externals/dash 6ded2f2 014/316: Add 'see also' to `-find-index` and `-find-last-index`., ELPA Syncer, 2021/02/15
- [elpa] externals/dash e680ad0 015/316: Merge pull request #173 from Wilfred/master, ELPA Syncer, 2021/02/15
- [elpa] externals/dash a10fb6b 028/316: Add -each-indexed keyword to font-lock, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 502be58 029/316: Make -each-indexed indent like -each, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 4ae329a 032/316: Release 2.13.0, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 0100584 033/316: Correct typo of 'does' to 'do' in -map-when docs, ELPA Syncer, 2021/02/15
- [elpa] externals/dash b7ba212 036/316: Edebug support for threading macros (#188), ELPA Syncer, 2021/02/15
- [elpa] externals/dash d4bccfe 037/316: Add annotations to pure functions. (#199), ELPA Syncer, 2021/02/15
- [elpa] externals/dash 4b805e1 041/316: Update README,
ELPA Syncer <=
- [elpa] externals/dash bcc74b5 045/316: [#200] Define setters for -first-item and -last-item, ELPA Syncer, 2021/02/15
- [elpa] externals/dash a9f90d7 016/316: Add -select-column(s), ELPA Syncer, 2021/02/15
- [elpa] externals/dash 27b1ea5 030/316: Update changelog for 2.12.x., ELPA Syncer, 2021/02/15
- [elpa] externals/dash 52e7eb4 031/316: Merge pull request #191 from Wilfred/update_changelog, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 3075aea 040/316: Add -unzip, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 2996a0d 035/316: Add a LICENSE file (#194), ELPA Syncer, 2021/02/15
- [elpa] externals/dash 9dfb01a 050/316: Correct use of eval-after-load, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 75cde71 052/316: Ensure that -first-item is as fast as car, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 05dc0aa 062/316: Add copyright assignment statement to documentation, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 4de2189 027/316: [Feature #185] -cut <> in first slot is a function, ELPA Syncer, 2021/02/15