guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I determine if a function is defined?


From: Bruce Korb
Subject: How do I determine if a function is defined?
Date: Sun, 28 Apr 2002 11:05:51 -0700

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]