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]

Re: SCM_UNBNDP


Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:

> But, probably, SCM_UNDEFINED_P is unmotivated since it is not
> interesting to indicate that you want to check if a value is
> undefined.
> 
> The asymmetry comes from the fact that the unbound-ness of a
> "location" is indicated by storing an undefined value in it.
> 
> Checking if a location is unbound therefore amounts to checking if it
> has an undefined value stored in it, but the latter is a lower level
> of description.

If people find this hard to handle, it is better to rename
SCM_UNDEFINED to SCM_UNBOUND than renaming the predicate.

(Problem is: SCM_UNBOUND is currently used as an "explicit" unbound
 value in GOOPS.  It is OK to rename this value---probably it should
 go away anyway after the GOOPS integration.)

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