This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

SCM_UNBNDP


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]