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

[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



reply via email to

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