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

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

[elpa] externals/dash 459322d 244/426: Update docs


From: Phillip Lord
Subject: [elpa] externals/dash 459322d 244/426: Update docs
Date: Tue, 04 Aug 2015 19:38:02 +0000

branch: externals/dash
commit 459322df3dfc8d1896cc367f9d53967a5f2f090c
Author: Fuco1 <address@hidden>
Commit: Fuco1 <address@hidden>

    Update docs
---
 README.md |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index 4b80695..9ea6343 100644
--- a/README.md
+++ b/README.md
@@ -142,8 +142,8 @@ To get function combinators:
 
 * [-when-let](#-when-let-var-val-rest-body) `(var-val &rest body)`
 * [-when-let*](#-when-let-vars-vals-rest-body) `(vars-vals &rest body)`
-* [-if-let](#-if-let-var-val-then-optional-else) `(var-val then &optional 
else)`
-* [-if-let*](#-if-let-vars-vals-then-optional-else) `(vars-vals then &optional 
else)`
+* [-if-let](#-if-let-var-val-then-rest-else) `(var-val then &rest else)`
+* [-if-let*](#-if-let-vars-vals-then-rest-else) `(vars-vals then &rest else)`
 
 ### Side-effects
 
@@ -1019,7 +1019,7 @@ If all `vals` evaluate to true, bind them to their 
corresponding
 (-when-let* ((x 5) (y nil) (z 7)) (+ x y z)) ;; => nil
 ```
 
-#### -if-let `(var-val then &optional else)`
+#### -if-let `(var-val then &rest else)`
 
 If `val` evaluates to non-nil, bind it to `var` and do `then`,
 otherwise do `else`. `var-val` should be a (`var` `val`) pair.
@@ -1029,7 +1029,7 @@ otherwise do `else`. `var-val` should be a (`var` `val`) 
pair.
 (--if-let (even? 4) it nil) ;; => t
 ```
 
-#### -if-let* `(vars-vals then &optional else)`
+#### -if-let* `(vars-vals then &rest else)`
 
 If all `vals` evaluate to true, bind them to their corresponding
   `vars` and do `then`, otherwise do `else`. `vars-vals` should be a list



reply via email to

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