unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* doc srfi-1 break versus while
@ 2003-10-10 22:20 Kevin Ryde
  0 siblings, 0 replies; only message in thread
From: Kevin Ryde @ 2003-10-10 22:20 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 363 bytes --]

        * srfi-modules.texi (SRFI-1 Searching): In break, note conflict with
        binding established by `while'.

     Note that the name `break' conflicts with the `break' binding
     established by `while' (*note while do::).  Applications wanting
     to use `break' from within a `while' loop will need to make a new
     define under a different name.


[-- Attachment #2: srfi-modules.texi.break.diff --]
[-- Type: text/plain, Size: 616 bytes --]

--- srfi-modules.texi.~1.23.~	1970-01-01 10:00:01.000000000 +1000
+++ srfi-modules.texi	2003-10-09 15:26:32.000000000 +1000
@@ -672,6 +672,11 @@
 @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{}

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-10 22:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-10 22:20 doc srfi-1 break versus while Kevin Ryde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).