[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash d365f22 222/439: Fix byte compile warnings
From: |
Phillip Lord |
Subject: |
[elpa] externals/dash d365f22 222/439: Fix byte compile warnings |
Date: |
Tue, 04 Aug 2015 20:28:14 +0000 |
branch: externals/dash
commit d365f2265bcfbc43c7d291c7e3dabab704b63ac6
Author: Magnar Sveen <address@hidden>
Commit: Magnar Sveen <address@hidden>
Fix byte compile warnings
- args with underscore are known to be ignored
---
dash-functional.el | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dash-functional.el b/dash-functional.el
index d7e70bf..7d21e23 100644
--- a/dash-functional.el
+++ b/dash-functional.el
@@ -83,7 +83,7 @@ Available by `(require 'dash-functional)`. Requires Emacs 24
or higher."
In types: a -> b -> a
Available by `(require 'dash-functional)`. Requires Emacs 24 or higher."
- (lambda (&rest args) c))
+ (lambda (&rest _) c))
(defmacro -cut (&rest params)
"Take n-ary function and n arguments and specialize some of them.
@@ -93,7 +93,7 @@ See SRFI-26 for detailed description.
Available by `(require 'dash-functional)`. Requires Emacs 24 or higher."
(let* ((i 0)
- (args (mapcar (lambda (x) (setq i (1+ i)) (make-symbol (format "D%d"
i)))
+ (args (mapcar (lambda (_) (setq i (1+ i)) (make-symbol (format "D%d"
i)))
(-filter (-partial 'eq '<>) params))))
`(lambda ,args
,(--map (if (eq it '<>) (pop args) it) params))))
- [elpa] externals/dash 51c9f6b 212/439: Merge pull request #42 from Fuco1/functional, (continued)
- [elpa] externals/dash 51c9f6b 212/439: Merge pull request #42 from Fuco1/functional, Phillip Lord, 2015/08/04
- [elpa] externals/dash 9abae5e 211/439: Add combinators, Phillip Lord, 2015/08/04
- [elpa] externals/dash 9a149bf 219/439: Add anaphoric example to --max-by and --min-by, Phillip Lord, 2015/08/04
- [elpa] externals/dash d374fcc 214/439: Revert "Add combinators", Phillip Lord, 2015/08/04
- [elpa] externals/dash 2a7fbdc 218/439: Update -max-by & friends, Phillip Lord, 2015/08/04
- [elpa] externals/dash 6911514 221/439: Update docs too, Phillip Lord, 2015/08/04
- [elpa] externals/dash 86de963 217/439: Add docs about require for dash-functional, Phillip Lord, 2015/08/04
- [elpa] externals/dash 4a144c6 220/439: Release 2.0.0, Phillip Lord, 2015/08/04
- [elpa] externals/dash 9b0166a 224/439: Fix terminology, Phillip Lord, 2015/08/04
- [elpa] externals/dash 6d0a8d6 225/439: Add Version and Package-Requires to files #45, Phillip Lord, 2015/08/04
- [elpa] externals/dash d365f22 222/439: Fix byte compile warnings,
Phillip Lord <=
- [elpa] externals/dash 1812a17 226/439: Complete dash and dash-functional split, Phillip Lord, 2015/08/04
- [elpa] externals/dash f1049f1 216/439: Add dash-functional back, now dependent on dash.el, Phillip Lord, 2015/08/04
- [elpa] externals/dash 39d20f2 228/439: Release 2.0.0, Phillip Lord, 2015/08/04
- [elpa] externals/dash 81e43ad 229/439: Add -union to list of highlighted symbols., Phillip Lord, 2015/08/04
- [elpa] externals/dash 515e2d3 230/439: Use `comparator` instead of `predicate` for sort., Phillip Lord, 2015/08/04
- [elpa] externals/dash 6cc7727 234/439: Release 2.1.0, Phillip Lord, 2015/08/04
- [elpa] externals/dash 6eeb692 236/439: Provide an implementation of function composition., Phillip Lord, 2015/08/04
- [elpa] externals/dash 23ab726 227/439: Improve formatting of docs, Phillip Lord, 2015/08/04
- [elpa] externals/dash 87c8b91 232/439: Add indexing operations, Phillip Lord, 2015/08/04
- [elpa] externals/dash 1e2bd96 233/439: Merge pull request #48 from Fuco1/index-operations, Phillip Lord, 2015/08/04