From: Carl Eastlund (cce at ccs.neu.edu) Date: Fri Jun 4 12:14:21 EDT 2010 |
|
On Fri, Jun 4, 2010 at 11:58 AM, Jos Koot <jos.koot at telefonica.net> wrote: > Strange: > > > > #lang racket ; version 5.0.0.1 > > (define x '(1 2 3)) > > (apply apply list (list x)) ; -> (1 2 3) > > > > where apply seems to accept the syntactically bound keyword apply, although > the docs say that apply should have the value of a procedure. This confuses > me. > > Thanks, Jos Jos, apply is a procedure, not a macro, so there is no problem with passing it to itself. --Carl