[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] fix/bug-31311-pcase-doc bdbe79a 1/8: minor clarifications
From: |
Thien-Thi Nguyen |
Subject: |
[Emacs-diffs] fix/bug-31311-pcase-doc bdbe79a 1/8: minor clarifications |
Date: |
Wed, 16 May 2018 14:49:55 -0400 (EDT) |
branch: fix/bug-31311-pcase-doc
commit bdbe79aac2194d69d9dc91f81a1843927b1e0cc3
Author: Thien-Thi Nguyen <address@hidden>
Commit: Thien-Thi Nguyen <address@hidden>
minor clarifications
- name patterns demo'd in reformulation example
- mention "in ‘guard’" for BOOLEXP in side-effect example
---
doc/lispref/control.texi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi
index 7766af3..d692f2d 100644
--- a/doc/lispref/control.texi
+++ b/doc/lispref/control.texi
@@ -515,8 +515,8 @@ First, the traditional implementation (@pxref{Regular
Expressions}):
@end example
@noindent
-The reformulation demonstrates @var{symbol} binding
-as well as some of the other pattern types.
+The reformulation demonstrates @var{symbol} binding as well as
address@hidden, @code{and}, @code{pred}, @code{app} and @code{let}.
@example
@group
@@ -676,7 +676,7 @@ Both use @code{and}, @var{symbol} and @code{guard}:
@end example
@noindent
-The difference is in @var{boolean-expression}:
+The difference is in @var{boolean-expression} in @code{guard}:
@code{OK} references @code{n} simply and directly,
while @code{WRONG} references @code{n} with a side-effect,
in the expression @code{(incf n)}.
- [Emacs-diffs] fix/bug-31311-pcase-doc updated (2db5695 -> 707c81f), Thien-Thi Nguyen, 2018/05/16
- [Emacs-diffs] fix/bug-31311-pcase-doc bdbe79a 1/8: minor clarifications,
Thien-Thi Nguyen <=
- [Emacs-diffs] fix/bug-31311-pcase-doc 0f3563b 4/8: use @code instead of `docstring-style' quoting, Thien-Thi Nguyen, 2018/05/16
- [Emacs-diffs] fix/bug-31311-pcase-doc 4cf4faa 5/8: (docstring) ensure backquote is output first, Thien-Thi Nguyen, 2018/05/16
- [Emacs-diffs] fix/bug-31311-pcase-doc d2a0b3b 2/8: refine side-effect example, Thien-Thi Nguyen, 2018/05/16
- [Emacs-diffs] fix/bug-31311-pcase-doc ba2e20e 3/8: say address@hidden instead of @code{t}, Thien-Thi Nguyen, 2018/05/16
- [Emacs-diffs] fix/bug-31311-pcase-doc 3f614b6 7/8: rewrite intro, Thien-Thi Nguyen, 2018/05/16
- [Emacs-diffs] fix/bug-31311-pcase-doc 877cf63 6/8: bifurcate "U-pattern", Thien-Thi Nguyen, 2018/05/16
- [Emacs-diffs] fix/bug-31311-pcase-doc 707c81f 8/8: don't quote "equality test"; use instead "the equality test", Thien-Thi Nguyen, 2018/05/16