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: How do I determine if a function is defined? Date: Sun, 28 Apr 2002 11:05:51 -0700 Organization: Home Sender: guile-devel-admin@gnu.org Message-ID: <3CCC39FF.C948A66E@pacbell.net> 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 1020020622 30745 127.0.0.1 (28 Apr 2002 19:03:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 28 Apr 2002 19:03:42 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 171txW-0007ze-00 for ; Sun, 28 Apr 2002 21:03:42 +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 171twy-000818-00; Sun, 28 Apr 2002 15:03: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 171tvN-0007x2-00 for ; Sun, 28 Apr 2002 15:01:29 -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 <0GVA008L3KUGD8@mta6.snfc21.pbi.net> for guile-devel@gnu.org; Sun, 28 Apr 2002 12:01:29 -0700 (PDT) Original-To: guile-devel@gnu.org 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:545 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:545 Hi, I keep trying obvious things, like: (if (function? mumble) (mumble)) and get: ERROR: Unbound variable: mumble and then it dies. I just want to do one thing if it is a function and another if it is either undefined or even anything else. How to do that seems completely non-obvious. Thank you. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel