emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/dash 75d29a2 363/426: Declare --iterate macro before us


From: Phillip Lord
Subject: [elpa] externals/dash 75d29a2 363/426: Declare --iterate macro before using it. #102
Date: Tue, 04 Aug 2015 19:38:54 +0000

branch: externals/dash
commit 75d29a26806885c38bdba5e74f3dfad46ef10544
Author: Magnar Sveen <address@hidden>
Commit: Magnar Sveen <address@hidden>

    Declare --iterate macro before using it. #102
---
 dash.el |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dash.el b/dash.el
index 98c0df6..d398e8b 100644
--- a/dash.el
+++ b/dash.el
@@ -305,6 +305,11 @@ See also: `-flatten-n'"
       (-mapcat '-flatten l)
     (list l)))
 
+(defmacro --iterate (form init n)
+  "Anaphoric version of `-iterate'."
+  (declare (debug (form form form)))
+  `(-iterate (lambda (it) ,form) ,init ,n))
+
 (defun -flatten-n (num list)
   "Flatten NUM levels of a nested LIST.
 
@@ -1743,11 +1748,6 @@ N is the length of the returned list."
         (push (funcall fun (car r)) r))
       (nreverse r))))
 
-(defmacro --iterate (form init n)
-  "Anaphoric version of `-iterate'."
-  (declare (debug (form form form)))
-  `(-iterate (lambda (it) ,form) ,init ,n))
-
 (defun -fix (fn list)
   "Compute the (least) fixpoint of FN with initial input LIST.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]