This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
SCM_UNBNDP
- To: Guile Mailing List <guile at sourceware dot cygnus dot com>
- Subject: SCM_UNBNDP
- From: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Date: Wed, 29 Mar 2000 12:16:26 +0200 (MEST)
Hello!
In tags.h, SCM_UNBNDP is defined as a comparison against SCM_UNDEFINED,
but there is no SCM_UNDEFINEDP (or SCM_UNDEFINED_P) predicate. I am not
sure about what concept is to be understood by 'unbound' in contrast to
'undefined'. Hoever:
a) If there is a distinction then we should provide an additional macro
SCM_UNDEFINED_P in order not to encourage programmers to use SCM_UNBNDP
just to compare against SCM_UNDEFINED.
b) If there is no distinction, then we should use SCM_UNDEFINED_P instead
of SCM_UNBNDP, because otherwise the asymmetry between the names is
confusing.
If nobody objects, I will add a SCM_UNDEFINED_P macro to tags.h.
Best regards
Dirk Herrmann