From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.user Subject: Re: [guile/scwm] 2nd argument problem to scm_definedp() Date: 17 Sep 2002 23:50:46 +0200 Sender: guile-user-admin@gnu.org Message-ID: <87n0qgi8uh.fsf@zagadka.ping.de> References: <200209162049.54095.pieter.pareit@planetinternet.be> <87y9a1ogu6.fsf@raven.i.defaultvalue.org> <87ptvdogn3.fsf@raven.i.defaultvalue.org> <87admhlm5c.fsf@zagadka.ping.de> <87elbsip2c.fsf@raven.i.defaultvalue.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1032299484 1618 127.0.0.1 (17 Sep 2002 21:51:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 17 Sep 2002 21:51:24 +0000 (UTC) Cc: P Pareit , guile-user@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17rQFe-0000Px-00 for ; Tue, 17 Sep 2002 23:51:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17rQFw-0003L6-00; Tue, 17 Sep 2002 17:51:40 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17rQEy-0003Dy-00 for guile-user@gnu.org; Tue, 17 Sep 2002 17:50:40 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17rQEw-0003Db-00 for guile-user@gnu.org; Tue, 17 Sep 2002 17:50:39 -0400 Original-Received: from dialin.speedway42.dip183.dokom.de ([195.138.42.183] helo=zagadka.ping.de) by monty-python.gnu.org with smtp (Exim 4.10) id 17rQEv-0003DX-00 for guile-user@gnu.org; Tue, 17 Sep 2002 17:50:37 -0400 Original-Received: (qmail 6736 invoked by uid 1000); 17 Sep 2002 21:50:46 -0000 Original-To: Rob Browning In-Reply-To: <87elbsip2c.fsf@raven.i.defaultvalue.org> Original-Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:1006 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1006 Rob Browning writes: > Why did we decide not to just have scm_module_lookup return SCM_BOOL_F > if the variable wasn't defined? That seems more flexible. I think > there was some reason, but I can't reecall it at the moment. i.e. The reasoning was, if I remember correctly, that making scm_module_lookup issue the error message will make that error message more uniform and it will also make it easier for people to use scm_module_lookup correctly in the 'usual' situation. We can have a second function thta behaves differently. That function should also be able to return non-variables (like the mythical macro transformers). -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user