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

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

[elpa] externals/dash a1b04d8 163/439: Less implementation specific docs


From: Phillip Lord
Subject: [elpa] externals/dash a1b04d8 163/439: Less implementation specific docs for -mapcat
Date: Tue, 04 Aug 2015 20:27:29 +0000

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

    Less implementation specific docs for -mapcat
    
    Fixes #24
---
 README.md |    2 +-
 dash.el   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 9d47f44..1751cf9 100644
--- a/README.md
+++ b/README.md
@@ -215,7 +215,7 @@ Returns a new list with the concatenation of the elements 
in the supplied `lists
 
 ### -mapcat `(fn list)`
 
-Returns the result of applying concat to the result of applying map to `fn` 
and `list`.
+Returns the concatenation of the result of mapping `fn` over `list`.
 Thus function `fn` should return a collection.
 
 ```cl
diff --git a/dash.el b/dash.el
index 1626476..ea56fe5 100644
--- a/dash.el
+++ b/dash.el
@@ -214,7 +214,7 @@ through the REP function."
   `(apply 'append (--map ,form ,list)))
 
 (defun -mapcat (fn list)
-  "Returns the result of applying concat to the result of applying map to FN 
and LIST.
+  "Returns the concatenation of the result of mapping FN over LIST.
 Thus function FN should return a collection."
   (--mapcat (funcall fn it) list))
 



reply via email to

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