[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 311a5ca 49/60: Fix typo
From: |
Junpeng Qiu |
Subject: |
[elpa] master 311a5ca 49/60: Fix typo |
Date: |
Tue, 25 Oct 2016 17:45:16 +0000 (UTC) |
branch: master
commit 311a5cab7dc43c34e415922d74ccdf333edef95b
Author: Junpeng Qiu <address@hidden>
Commit: Junpeng Qiu <address@hidden>
Fix typo
---
README.org | 5 ++---
parsec.el | 2 +-
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/README.org b/README.org
index eb31c02..a23f955 100644
--- a/README.org
+++ b/README.org
@@ -176,12 +176,11 @@ So we can
You can find the code in =examples/simple-csv-parser.el=. The code is based
on the Haskell code in
[[http://book.realworldhaskell.org/read/using-parsec.html][Using Parsec]].
- An end-of-line should a string =\n=. We use =(parsec-str "\n")= to parse it
+ An end-of-line should be a string =\n=. We use =(parsec-str "\n")= to parse
it
(Note that since =\n= is also one character, =(parsec-ch ?\n)= also works).
Some files may not contain a newline at the end, but we can view end-of-file
as the end-of-line for the last line, and use =parsec-eof= (or =parsec-eob=)
- to parse the end-of-file. We use =parsec-or= to combine these two
- combinators:
+ to parse the end-of-file. We use =parsec-or= to combine these two
combinators:
#+BEGIN_SRC elisp
(defun s-csv-eol ()
(parsec-or (parsec-str "\n")
diff --git a/parsec.el b/parsec.el
index 1a78d06..44ac6c6 100644
--- a/parsec.el
+++ b/parsec.el
@@ -253,7 +253,7 @@
;; You can find the code in `examples/simple-csv-parser.el'. The code is
;; based on the Haskell code in [Using Parsec].
-;; An end-of-line should a string `\n'. We use `(parsec-str "\n")' to
+;; An end-of-line should be a string `\n'. We use `(parsec-str "\n")' to
;; parse it (Note that since `\n' is also one character, `(parsec-ch
;; ?\n)' also works). Some files may not contain a newline at the end,
;; but we can view end-of-file as the end-of-line for the last line, and
- [elpa] master dfb3af0 60/60: Add 'packages/parsec/' from commit '8f0c266d8b9b0ee5fcf9b80c518644b2849ff3b3', (continued)
- [elpa] master dfb3af0 60/60: Add 'packages/parsec/' from commit '8f0c266d8b9b0ee5fcf9b80c518644b2849ff3b3', Junpeng Qiu, 2016/10/25
- [elpa] master 6cc3100 07/60: Fix indentations, Junpeng Qiu, 2016/10/25
- [elpa] master d98e8c8 05/60: Add url-encoded string parser, Junpeng Qiu, 2016/10/25
- [elpa] master a268b9f 08/60: Add more APIs, Junpeng Qiu, 2016/10/25
- [elpa] master 13637e1 15/60: Rename parsec-do-parse to parsec-with-input, Junpeng Qiu, 2016/10/25
- [elpa] master ba23b01 19/60: Add more APIs, Junpeng Qiu, 2016/10/25
- [elpa] master f3ce070 09/60: Add simple scheme parser, Junpeng Qiu, 2016/10/25
- [elpa] master 9bc1d77 28/60: Move examples to under sub-directory, Junpeng Qiu, 2016/10/25
- [elpa] master 52f1886 33/60: Update pjson, Junpeng Qiu, 2016/10/25
- [elpa] master 7e65db0 51/60: Merge pull request #1 from tarsius/master, Junpeng Qiu, 2016/10/25
- [elpa] master 311a5ca 49/60: Fix typo,
Junpeng Qiu <=
- [elpa] master e6d5f38 46/60: Update the comment in source file, Junpeng Qiu, 2016/10/25
- [elpa] master 8c22dcb 39/60: Add :group example, Junpeng Qiu, 2016/10/25
- [elpa] master a45d8f4 03/60: Error propagation to pl-until, Junpeng Qiu, 2016/10/25