Re: Mildly amusing diagnostic wording.
Pascal Bourguignon <[email protected]> Wed, 8 Nov 2023 18:55:40 +0100
| Newsgroups | gmane.lisp.clisp.general |
|---|---|
| Message-ID | <[email protected]> |
> On 8 Nov 2023, at 08:07, Kaz Kylheku <[email protected]> wrote: > > [1]> (loop (loop-finish)) > > *** - (LOOP-FINISH) is possible only from within LOOP > The following restarts are available: > ABORT :R1 Abort main loop > > :) > This is an error in the error message. (issue a bug report) The LOOP operator introduces two kinds of loops: - simple loops as the one you wrote, - extended loops. LOOP-FINISH is only available in extended loops, not in simple loops. If you want to use loop-finish, you may add a do keyword to make it an extended loop: (loop do (loop-finish)) -- __Pascal J. Bourguignon__ _______________________________________________ clisp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clisp-list