This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Suggestion: SCM_DEBUG_REST_ARGUMENTS (fwd)
- To: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Subject: Re: Suggestion: SCM_DEBUG_REST_ARGUMENTS (fwd)
- From: Jost Boekemeier <jostobfe at linux dot zrz dot TU-Berlin dot DE>
- Date: 17 May 2000 18:08:08 +0200
- Cc: Guile Mailing List <guile at sourceware dot cygnus dot com>
- References: <Pine.LNX.4.21.0005170103010.17775-100000@marvin.ida.ing.tu-bs.de>
Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:
> On 16 May 2000, Jost Boekemeier wrote:
> (in private mail, but with permission to forward)
>
> > Functions which are local to the evaluator don't have to check their
> > arguments but *all* functions reachable by user code must check their
> > arguments. I don't think that functions which are both local to the
> > evaluator and callable by user code do exist.
>
>> If you call this from C via
> ...
> SCM result = scm_append (args);
> ...
Hmm. Rename `scm_append' to `scm_append_internal' and create a
function `scm_append' which checks if `args' is a proper list.
And throw out those #ifdefs!
Jost