Guile Mailing List Archive

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

apply vs. @apply




I noticed that Guile has an `apply' primitive, however, when
boot-9.scm is loaded, it loads r4rs.scm which redefines `apply' in
terms of the `@apply' macro and `apply:nconc2last'. It seems to me
that at least one of these definitions of `apply' should be
removed. Other points: if the `@apply' version is kept, is there a way
to remove the need to have it also use `apply:nconc2last'? It seems to
me that this is an implementation detail that should be left at the C
level. Also, if the C-implemented `apply' is fine and the comments
about having to implement it in Scheme in terms of a macro to make it
properly tail-recursive no longer apply, perhaps the problem could be
solved the same way for `call-with-current-continuation'.

 - Maciej Syachowiak


Guile Home | Main Index | Thread Index