[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 34521c6 53/60: Update README about *-s functions
From: |
Junpeng Qiu |
Subject: |
[elpa] master 34521c6 53/60: Update README about *-s functions |
Date: |
Tue, 25 Oct 2016 17:45:16 +0000 (UTC) |
branch: master
commit 34521c605fe525cc9b8f7b0e4ca991ca1eb25218
Author: Junpeng Qiu <address@hidden>
Commit: Junpeng Qiu <address@hidden>
Update README about *-s functions
---
README.org | 22 +++++++++++++---------
parsec.el | 22 +++++++++++++---------
2 files changed, 26 insertions(+), 18 deletions(-)
diff --git a/README.org b/README.org
index a23f955..a189cf1 100644
--- a/README.org
+++ b/README.org
@@ -129,15 +129,19 @@ So we can
They all have a variant that returns a string by concatenating the results
in
the list:
- - =parsec-many-as-string=
- - =parsec-many1-as-string=
- - =parsec-many-till-as-string=
- - =parsec-until-as-string=
- - =parsec-collect-as-string=
-
- These variants accept the same arguments. The only difference is the return
- value. In most cases I found myself using these variants instead of the
- original versions that return a list.
+ - =parsec-many-as-string= or =parsec-many-s=
+ - =parsec-many1-as-string= or =parsec-many1-s=
+ - =parsec-many-till-as-string= or =parsec-many-till-s=
+ - =parsec-until-as-string= or =parsec-until-s=
+ - =parsec-collect-as-string= or =parsec-collect-s=
+ - =parsec-count-as-string= or =parsec-count-s=
+
+ The =*-s= and =*-as-string= variants are the same, except the =*-s= variants
+ have a shorter name. Using these =*-s= functions are recommended if you're
+ using these variants more frequently. These variants accept the same
+ arguments. The only difference is the return value. In most cases I found
+ myself using these variants instead of the original versions that return a
+ list.
* Code Examples
Some very simple examples are given here. You can see many code examples in
diff --git a/parsec.el b/parsec.el
index 8ffb13d..2663960 100644
--- a/parsec.el
+++ b/parsec.el
@@ -200,15 +200,19 @@
;; They all have a variant that returns a string by concatenating the
;; results in the list:
-;; - `parsec-many-as-string'
-;; - `parsec-many1-as-string'
-;; - `parsec-many-till-as-string'
-;; - `parsec-until-as-string'
-;; - `parsec-collect-as-string'
-
-;; These variants accept the same arguments. The only difference is the
-;; return value. In most cases I found myself using these variants
-;; instead of the original versions that return a list.
+;; - `parsec-many-as-string' or `parsec-many-s'
+;; - `parsec-many1-as-string' or `parsec-many1-s'
+;; - `parsec-many-till-as-string' or `parsec-many-till-s'
+;; - `parsec-until-as-string' or `parsec-until-s'
+;; - `parsec-collect-as-string' or `parsec-collect-s'
+;; - `parsec-count-as-string' or `parsec-count-s'
+
+;; The `*-s' and `*-as-string' variants are the same, except the `*-s'
+;; variants have a shorter name. Using these `*-s' functions are
+;; recommended if you're using these variants more frequently. These
+;; variants accept the same arguments. The only difference is the return
+;; value. In most cases I found myself using these variants instead of
+;; the original versions that return a list.
;; 3 Code Examples
- [elpa] master 452ec1e 35/60: Update scheme parser, (continued)
- [elpa] master 452ec1e 35/60: Update scheme parser, Junpeng Qiu, 2016/10/25
- [elpa] master 14b28a1 16/60: Add basic README, Junpeng Qiu, 2016/10/25
- [elpa] master 606fed1 10/60: Add simple JSON parser, Junpeng Qiu, 2016/10/25
- [elpa] master d8cd9d6 17/60: Better naming, Junpeng Qiu, 2016/10/25
- [elpa] master a5ca813 04/60: Full & simple parser, Junpeng Qiu, 2016/10/25
- [elpa] master 9996b5b 31/60: Update full-csv-parser, Junpeng Qiu, 2016/10/25
- [elpa] master bdfcbde 23/60: Update library description, Junpeng Qiu, 2016/10/25
- [elpa] master 2e8c52b 40/60: Make sure parsec-not-followed-by consumes no input, Junpeng Qiu, 2016/10/25
- [elpa] master fb26929 34/60: Fix parsec-make-alternatives, Junpeng Qiu, 2016/10/25
- [elpa] master 31388e6 52/60: Add -s aliases, Junpeng Qiu, 2016/10/25
- [elpa] master 34521c6 53/60: Update README about *-s functions,
Junpeng Qiu <=
- [elpa] master 8f0c266 58/60: Add doc for parsec-peek(-p), Junpeng Qiu, 2016/10/25
- [elpa] master ffd42de 45/60: Use simple-csv-parser.el as a demo, Junpeng Qiu, 2016/10/25
- [elpa] master bf49fb6 38/60: Upate README, Junpeng Qiu, 2016/10/25
- [elpa] master 966ca9e 43/60: Add comments to parsec.el, Junpeng Qiu, 2016/10/25
- [elpa] master c61a38c 22/60: Add convenient newline methods, Junpeng Qiu, 2016/10/25
- [elpa] master 0c3408a 01/60: Init commit, Junpeng Qiu, 2016/10/25
- [elpa] master 1929932 02/60: Split into two files, Junpeng Qiu, 2016/10/25
- [elpa] master fd77961 25/60: Add a few simple API, Junpeng Qiu, 2016/10/25
- [elpa] master 12d2ad6 24/60: Bug fixes, Junpeng Qiu, 2016/10/25
- [elpa] master adf4706 20/60: Add many-till, notFollowedBy and fix others, Junpeng Qiu, 2016/10/25