[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash 524e6fe 057/316: Fix -map-last docs (#220)
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dash 524e6fe 057/316: Fix -map-last docs (#220) |
Date: |
Mon, 15 Feb 2021 15:57:25 -0500 (EST) |
branch: externals/dash
commit 524e6fe86ba240d4405d3de1c862921fb8085c8d
Author: Adam Niederer <AdamNiederer@users.noreply.github.com>
Commit: Matus Goljer <dota.keys@gmail.com>
Fix -map-last docs (#220)
---
README.md | 2 +-
dash.el | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index ad03d06..8e255d7 100644
--- a/README.md
+++ b/README.md
@@ -355,7 +355,7 @@ See also: [`-map-when`](#-map-when-pred-rep-list),
[`-replace-first`](#-replace-
#### -map-last `(pred rep list)`
-Replace first item in `list` satisfying `pred` with result of `rep` called on
this item.
+Replace last item in `list` satisfying `pred` with result of `rep` called on
this item.
See also: [`-map-when`](#-map-when-pred-rep-list),
[`-replace-last`](#-replace-last-old-new-list)
diff --git a/dash.el b/dash.el
index 078175c..10b1f05 100644
--- a/dash.el
+++ b/dash.el
@@ -388,7 +388,7 @@ See also: `-map-when', `-replace-first'"
`(-map-first (lambda (it) ,pred) (lambda (it) (ignore it) ,rep) ,list))
(defun -map-last (pred rep list)
- "Replace first item in LIST satisfying PRED with result of REP called on
this item.
+ "Replace last item in LIST satisfying PRED with result of REP called on this
item.
See also: `-map-when', `-replace-last'"
(nreverse (-map-first pred rep (reverse list))))
- [elpa] externals/dash 53323ec 169/316: Fix typo and its copies, (continued)
- [elpa] externals/dash 53323ec 169/316: Fix typo and its copies, ELPA Syncer, 2021/02/15
- [elpa] externals/dash fe9bbc2 170/316: Merge pull request #334 from tarsiiformes/typo, ELPA Syncer, 2021/02/15
- [elpa] externals/dash e4e5269 180/316: Finish last change to package keywords, ELPA Syncer, 2021/02/15
- [elpa] externals/dash b329938 182/316: Update CI configuration, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 7629dae 183/316: Add dir-locals-file with useful settings, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 84721fc 206/316: Optimize -repeat a bit, ELPA Syncer, 2021/02/15
- [elpa] externals/dash d983d4f 217/316: Fix -doto, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 66e3e94 079/316: Define -second-item through to -fifth-item, ELPA Syncer, 2021/02/15
- [elpa] externals/dash dd30a1f 047/316: [Feature #196] Add -powerset and -permutations (#203), ELPA Syncer, 2021/02/15
- [elpa] externals/dash 5f7f2d6 056/316: Add example for an iota error condition, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 524e6fe 057/316: Fix -map-last docs (#220),
ELPA Syncer <=
- [elpa] externals/dash a3b40f8 058/316: Make --> bind IT for use anywhere in FORMS, and add -as->., ELPA Syncer, 2021/02/15
- [elpa] externals/dash 13f9ece 060/316: add tests for nesting anaphoric macros., ELPA Syncer, 2021/02/15
- [elpa] externals/dash d7b769b 065/316: Use standard Emacs quoting for bound symbols, ELPA Syncer, 2021/02/15
- [elpa] externals/dash b4faa93 066/316: Merge pull request #224 from Wilfred/when-let-docstring, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 0df0ff1 067/316: Merge pull request #222 from zck/partition-before-after, ELPA Syncer, 2021/02/15
- [elpa] externals/dash dcb0ec1 069/316: Merge pull request #232 from Wilfred/improve_docs_wording, ELPA Syncer, 2021/02/15
- [elpa] externals/dash c026c46 073/316: Merge pull request #240 from basil-conto/239, ELPA Syncer, 2021/02/15
- [elpa] externals/dash bdcaf68 074/316: Merge pull request #236 from Wilfred/robust-docs-generation, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 3493fc9 076/316: Merge pull request #242 from magnars/fix-infinite-loop-zip-interleave, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 057e55c 081/316: Update examples.el, remove duplicate -third-item, ELPA Syncer, 2021/02/15