emacs-diffs
[Top][All Lists]
Advanced

[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)}.



reply via email to

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