* doc subr rest arg
@ 2005-04-20 22:25 Kevin Ryde
0 siblings, 0 replies; only message in thread
From: Kevin Ryde @ 2005-04-20 22:25 UTC (permalink / raw)
I added a bit to scm_c_define_gsubr about not changing the rest arg.
Existing:
If RST is non-zero, then any arguments after the first `REQ + OPT'
are packaged up as a list and passed as FUNCTION's last argument.
Add:
FUNCTION must not modify that list. (Because when subr is called
through `apply' the list comes directly from the `apply' list
argument. This list is copied when dispatching to a scheme
procedure, but not when going to a subr.)
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-04-20 22:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-20 22:25 doc subr rest arg Kevin Ryde
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).