From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bruce Korb Newsgroups: gmane.lisp.guile.devel Subject: Re: How do I determine if a function is defined? Date: Sun, 28 Apr 2002 18:34:58 -0700 Organization: Home Sender: guile-devel-admin@gnu.org Message-ID: <3CCCA342.78418AFA@pacbell.net> References: <3CCC39FF.C948A66E@pacbell.net> <1020023889.25790.60.camel@flophouse> <3CCC4907.BE9DDCFB@pacbell.net> <87sn5fl2co.fsf@raven.i.defaultvalue.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1020047615 32132 127.0.0.1 (29 Apr 2002 02:33:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 29 Apr 2002 02:33:35 +0000 (UTC) Cc: Bill Gribble , Clinton Ebadi , guile-devel@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 1720ys-0008M9-00 for ; Mon, 29 Apr 2002 04:33:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 1720yS-0002cj-00; Sun, 28 Apr 2002 22:33:08 -0400 Original-Received: from mta6.snfc21.pbi.net ([206.13.28.240]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 1720vy-00012O-00 for ; Sun, 28 Apr 2002 22:30:34 -0400 Original-Received: from pacbell.net ([64.161.26.69]) by mta6.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GVB008BK5MWD8@mta6.snfc21.pbi.net> for guile-devel@gnu.org; Sun, 28 Apr 2002 19:30:32 -0700 (PDT) Original-To: Rob Browning X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.18 i686) X-Accept-Language: en Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:554 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:554 Rob Browning wrote: > Try > > (if (defined? 'set-writable) > ...) > > Though you could also handle this during the make process via .in > files if you didn't want to have to run all the conditionals on every > load. This is actually used in "make check" for fixincludes for GCC. If you have the sources, it's the last line of gcc/fixinc/check.tpl. :-) Thanks. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel