unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* How do I determine if a function is defined?
@ 2002-04-28 18:05 Bruce Korb
  2002-04-28 19:15 ` Clinton Ebadi
  0 siblings, 1 reply; 6+ messages in thread
From: Bruce Korb @ 2002-04-28 18:05 UTC (permalink / raw)



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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-04-29  1:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-28 18:05 How do I determine if a function is defined? Bruce Korb
2002-04-28 19:15 ` Clinton Ebadi
2002-04-28 19:58   ` Bill Gribble
2002-04-28 19:09     ` Bruce Korb
2002-04-29  1:28       ` Rob Browning
2002-04-29  1:34         ` Bruce Korb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).