This is the mail archive of the guile@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: Marking smobs for GC



> > Also, no one answered my question about what are valid patterns for
> > required and optional arguments.  Is this a scheme issue or a guile
> > implementation issue?
> 
> Guile implementation. Actually, you can have pretty much any pattern
> of args you want (up to req+opt+rest <= 10, if I'm reading the code
> right), but only a small set of those have a predefined tag, like
> scm_tc7_subr_2. Anything else will be represented by a cclo (see
> gsubr.c:scm_make_gsubr). I think. Take this with a grain of salt, since
> I haven't really looked at the code for more than a few minutes.

Yes, that sounds right to me too.