[plt-scheme] apply syntactically bound (was RE: [plt-bug] all/10959: namespace-variable-valuecannot find 'apply' in base-namespace)

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Fri Jun 4 12:49:00 EDT 2010

On Fri, Jun 4, 2010 at 12:36 PM, Jos Koot <jos.koot at telefonica.net> wrote:
> That may very well be the case. 'apply' in the operator position of an
> expression like (apply bla bla bla ...) being expanded as by a transformer
> and in other positions being expanded to something that evaluates to a
> procedure. If this is the case, I think this should be added to the docs.

In general, the docs avoid committing to whether something is a
procedure or merely something implemented with a macro that behaves
like a procedure.  This is because lots of identifiers may or may not
be macros, depending on the precise implementation, but this
distinction is mostly irrelevant, and we want the flexibility to
change the implementation.  In this specific case, (procedure? apply)
still produces #t, and thus in almost all cases it can be thought of
as a procedure.
-- 
sam th
samth at ccs.neu.edu


Posted on the users mailing list.