Subject: Re: What should (ignore-errors ((foo))) do?
From: rpw3@rpw3.org (Rob Warnock)
Date: Wed, 12 Jul 2006 19:21:30 -0500
Newsgroups: comp.lang.lisp
Message-ID: <ybqdnU_r9qaXDyjZnZ2dnUVZ_qudnZ2d@speakeasy.net>
Marcus Breiing  <usenet@2006w27.mail.breiing.com> wrote:
+---------------
| Here's a somewhat similar case:
| (defmacro foo () (error "barf!"))
| Now what should
|   (ignore-errors (foo))
| return?
| I wouldn't complain if an interpreter were to return NIL.
+---------------

Here might be a good place to point out that IGNORE-ERRORS
returns *two* values when there was an exceptional situation,
with the second one being the condition which error'd, thus
providing a way to distinguish a successful NIL result from
the form...


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607