Subject: Re: Can lisp functions have more than one point of return? From: Erik Naggum <email@example.com> Date: Mon, 01 Apr 2002 00:45:31 GMT Newsgroups: comp.lang.lisp Message-ID: <firstname.lastname@example.org> * Zachary Turner | My question now is how natural is it to use return? Well, there are a few hints. Many forms set up a block named nil from which you can return with a simple return instead of return-from. This is particularly prevalent for the iteration constructs do, do*, dolist, and loop, so you can break out of a loop early. This is much cleaner than using an extra variable of heavier mechanisms locally. | So I'm wondering overall how much is return actually used? I think you should worry about this later and focus on learning the language and finding uses of the constructs you learn. Knowing when to use a construct is knowledge. Knowing when not to use a construct is wisdom. If you merely collect knowledge without much understanding, you will at least be skillful. If you merely collect wisdom without much understanding, you will only be immobilized. /// -- In a fight against something, the fight has value, victory has none. In a fight for something, the fight is a loss, victory merely relief.