[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash ffa37bf 425/426: Merge pull request #129 from holo
From: |
Phillip Lord |
Subject: |
[elpa] externals/dash ffa37bf 425/426: Merge pull request #129 from holomorph/docs |
Date: |
Tue, 04 Aug 2015 19:39:23 +0000 |
branch: externals/dash
commit ffa37bf5b9df62bd7feffff9314c009572f92bb7
Merge: 2db56f5 a803dd5
Author: Matus Goljer <address@hidden>
Commit: Matus Goljer <address@hidden>
Merge pull request #129 from holomorph/docs
docs
---
README.md | 50 +++++++++++++++++++++++++-------------------------
dash-template.texi | 6 ++++++
dash.texi | 6 ++++++
readme-template.md | 6 +++---
4 files changed, 40 insertions(+), 28 deletions(-)
diff --git a/README.md b/README.md
index 584fcf7..0e727f5 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,31 @@ Include this in your emacs settings to get syntax
highlighting:
## Functions
+All functions and constructs in the library are prefixed with a dash (-).
+
+There are also anaphoric versions of functions where that makes sense,
+prefixed with two dashes instead of one.
+
+While `-map` takes a function to map over the list, you can also use
+the anaphoric form with double dashes - which will then be executed
+with `it` exposed as the list item. Here's an example:
+
+```el
+(-map (lambda (n) (* n n)) '(1 2 3 4)) ;; normal version
+
+(--map (* it it) '(1 2 3 4)) ;; anaphoric version
+```
+
+of course the original can also be written like
+
+```el
+(defun square (n) (* n n))
+
+(-map 'square '(1 2 3 4))
+```
+
+which demonstrates the usefulness of both versions.
+
### Maps
@@ -264,31 +289,6 @@ These combinators require Emacs 24 for its lexical scope.
So they are offered in
* [-fixfn](#-fixfn-fn-optional-equal-test-halt-test) `(fn &optional equal-test
halt-test)`
* [-prodfn](#-prodfn-rest-fns) `(&rest fns)`
-## Anaphoric functions
-
-There are also anaphoric versions of functions where that makes sense,
-prefixed with two dashes instead of one.
-
-While `-map` takes a function to map over the list, you can also use
-the anaphoric form with double dashes - which will then be executed
-with `it` exposed as the list item. Here's an example:
-
-```el
-(-map (lambda (n) (* n n)) '(1 2 3 4)) ;; normal version
-
-(--map (* it it) '(1 2 3 4)) ;; anaphoric version
-```
-
-of course the original can also be written like
-
-```el
-(defun square (n) (* n n))
-
-(-map 'square '(1 2 3 4))
-```
-
-which demonstrates the usefulness of both versions.
-
## Maps
diff --git a/dash-template.texi b/dash-template.texi
index 58bb139..0e7dfc2 100644
--- a/dash-template.texi
+++ b/dash-template.texi
@@ -433,6 +433,12 @@ script for generating documentation.
@item
@uref{https://github.com/holomorph,Mark Oteiza} contributed the
script to create an info manual.
address@hidden
address@hidden://github.com/wasamasa,Vasilij Schneidermann} contributed
address@hidden
address@hidden
address@hidden://github.com/occidens,William West} made @code{-fixfn}
+more robust at handling floats.
@end itemize
Thanks!
diff --git a/dash.texi b/dash.texi
index 67bfee1..f47b7b5 100644
--- a/dash.texi
+++ b/dash.texi
@@ -3784,6 +3784,12 @@ script for generating documentation.
@item
@uref{https://github.com/holomorph,Mark Oteiza} contributed the
script to create an info manual.
address@hidden
address@hidden://github.com/wasamasa,Vasilij Schneidermann} contributed
address@hidden
address@hidden
address@hidden://github.com/occidens,William West} made @code{-fixfn}
+more robust at handling floats.
@end itemize
Thanks!
diff --git a/readme-template.md b/readme-template.md
index 5351fe7..b0cabc1 100644
--- a/readme-template.md
+++ b/readme-template.md
@@ -34,9 +34,7 @@ Include this in your emacs settings to get syntax
highlighting:
## Functions
-[[ function-list ]]
-
-## Anaphoric functions
+All functions and constructs in the library are prefixed with a dash (-).
There are also anaphoric versions of functions where that makes sense,
prefixed with two dashes instead of one.
@@ -61,6 +59,8 @@ of course the original can also be written like
which demonstrates the usefulness of both versions.
+[[ function-list ]]
+
[[ function-docs ]]
## Contribute
- [elpa] externals/dash bd85b7c 302/426: Make -zip support infinite (circular) lists, (continued)
- [elpa] externals/dash bd85b7c 302/426: Make -zip support infinite (circular) lists, Phillip Lord, 2015/08/04
- [elpa] externals/dash 19fbc24 426/426: Fix anaphoric -spice-list macro, Phillip Lord, 2015/08/04
- [elpa] externals/dash 36b7f49 419/426: [-let] Reuse the ignore-place predicate, Phillip Lord, 2015/08/04
- [elpa] externals/dash 703bb59 297/426: Convert -zip to support variable-length arguments, Phillip Lord, 2015/08/04
- [elpa] externals/dash 3132ae0 314/426: Alias -tail to nthcdr, Phillip Lord, 2015/08/04
- [elpa] externals/dash 4098ea0 285/426: Merge pull request #74 from YoungFrog/dashfontifix, Phillip Lord, 2015/08/04
- [elpa] externals/dash 0c045f2 369/426: Highlight with el instead of cl, Phillip Lord, 2015/08/04
- [elpa] externals/dash 5086d24 293/426: Merge pull request #60 from rejeep/cask, Phillip Lord, 2015/08/04
- [elpa] externals/dash 1fde888 407/426: Merge pull request #125 from wasamasa/feature-some, Phillip Lord, 2015/08/04
- [elpa] externals/dash 51a07b1 408/426: Merge pull request #127 from occidens/fixfn, Phillip Lord, 2015/08/04
- [elpa] externals/dash ffa37bf 425/426: Merge pull request #129 from holomorph/docs,
Phillip Lord <=
- [elpa] externals/dash 63ec298 308/426: Merge pull request #92 from Fuco1/outer-product, Phillip Lord, 2015/08/04
- [elpa] externals/dash 00549e4 307/426: Add missing fontification keywords, Phillip Lord, 2015/08/04
- [elpa] externals/dash 9ebd172 421/426: [-let] Generate differently named symbols for temporary sources (makes, Phillip Lord, 2015/08/04
- [elpa] externals/dash c134705 377/426: Fix compile warning, Phillip Lord, 2015/08/04
- [elpa] externals/dash 40896b8 418/426: Fix the -let debug declaration, Phillip Lord, 2015/08/04
- [elpa] externals/dash 79c23bb 282/426: Merge pull request #70 from Fuco1/debug-decl, Phillip Lord, 2015/08/04
- [elpa] externals/dash 5d25ed2 275/426: Release 2.5.0, Phillip Lord, 2015/08/04
- [elpa] externals/dash 2cc124b 423/426: [-let] Generate better code when skipping conses, Phillip Lord, 2015/08/04
- [elpa] externals/dash b7c2f9a 381/426: Work around byte compiler in -if-let*, Phillip Lord, 2015/08/04
- [elpa] externals/dash b201f0c 281/426: Add debug declarations and move indent declarations into `declare`, Phillip Lord, 2015/08/04