(SRFI-1 Searching): In break, note conflict with
authorKevin Ryde <user42@zip.com.au>
Sat, 18 Oct 2003 00:49:08 +0000 (00:49 +0000)
committerKevin Ryde <user42@zip.com.au>
Sat, 18 Oct 2003 00:49:08 +0000 (00:49 +0000)
binding established by `while'.

doc/ref/srfi-modules.texi

index ee27bbf..0e0eb09 100644 (file)
@@ -672,6 +672,11 @@ tail.  @code{break} inverts the sense of the predicate.
 @code{span!} and @code{break!} are allowed, but not required to modify
 the structure of the input list @var{lst} in order to produce the
 result.
+
+Note that the name @code{break} conflicts with the @code{break}
+binding established by @code{while} (@pxref{while do}).  Applications
+wanting to use @code{break} from within a @code{while} loop will need
+to make a new define under a different name.
 @end deffn
 
 @deffn {Scheme Procedure} any pred lst1 lst2 @dots{}