guile-user
[Top][All Lists]
Advanced

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

Re: Textal interface to Guile


From: Marius Vollmer
Subject: Re: Textal interface to Guile
Date: 29 Apr 2001 02:38:41 +0200
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7

Rob Browning <address@hidden> writes:

>                          gh_list(my_obj, SCM_EOL)));
>
> [...] I'm not sure whether you're supposed to use SCM_EOL or
> SCM_UNSPECIFIED, though I think SCM_EOL is right.  It mentions both
> in different contexts.

Nope, you should be using SCM_UNDEFINED.

Background: Both SCM_EOL and SCM_UNSPECIFIED can legitimately show up
in a list, but SCM_UNDEFINED will trigger a "variable unbound" error
when referenced (at certain strategically choosen points, it is not
checked for everywhere).  So SCM_UNDEFINED can be used to terminate
the arguments to gh_list, while SCM_EOL and SCM_UNSPECIFIED can not.



reply via email to

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