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

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

[elpa] externals/dash 5f6ea16 036/439: Fix typo


From: Phillip Lord
Subject: [elpa] externals/dash 5f6ea16 036/439: Fix typo
Date: Tue, 04 Aug 2015 20:26:06 +0000

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

    Fix typo
---
 README.md |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md
index e857fa8..7bea548 100644
--- a/README.md
+++ b/README.md
@@ -14,15 +14,19 @@ While `!filter` takes a function to filter the list by, you 
can also use the
 anaphoric form with double bangs - which will then be executed with `it` 
exposed
 as the list item. Here's an example:
 
-    (!filter (lambda (num) (= 0 (% num 2))) '(1 2 3 4)) ;; normal version
+```cl
+(!filter (lambda (num) (= 0 (% num 2))) '(1 2 3 4)) ;; normal version
 
-    (!!filter (= 0 (% it 2)) '(1 2 3 4)) ;; anaphoric version
+(!!filter (= 0 (% it 2)) '(1 2 3 4)) ;; anaphoric version
+```
 
 of course the original can also be written like
 
-    (defun even? (num) (= 0 (% num 2)))
+```cl
+(defun even? (num) (= 0 (% num 2)))
 
-    (!filter even? '(1 2 3 4))
+(!filter even? '(1 2 3 4))
+```
 
 which demonstrates the usefulness of both versions.
 
@@ -41,7 +45,7 @@ which demonstrates the usefulness of both versions.
 !intersection (list list2)
 !uniq (list)
 !contains? (list element)
-```cl
+```
 
 There are also anaphoric versions of these
 functions where that makes sense, prefixed with two bangs



reply via email to

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