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

From: Jos Koot (jos.koot at telefonica.net)
Date: Fri Jun 4 11:58:13 EDT 2010

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

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100604/87bb92e5/attachment.html>

Posted on the users mailing list.