Subject: Re: Keywords and CL-WHO
From: rpw3@rpw3.org (Rob Warnock)
Date: Thu, 21 Sep 2006 08:18:36 -0500
Newsgroups: comp.lang.lisp
Message-ID: <uZOdncLMH-WxDI_YnZ2dnUVZ_qOdnZ2d@speakeasy.net>
Christophe Rhodes  <csr21@cam.ac.uk> wrote:
+---------------
| rpw3@rpw3.org (Rob Warnock) writes:
| > Since a list that begins with a keyword is not legal CL source code
| 
| Yes it is.  (That's not to say that using this as a syntactic marker
| for CL-WHO's purposes is a bad idea, but that this can't be the
| justification for it.)
+---------------

O.k., so I was assuming that somebody hadn't done something
incredibly grotesque like this:

    > (setf (symbol-function :plus) #'+)

    #<Function + {101E4269}>
    > (:plus 3 4 5)

    12
    > 

*NORMALLY*, if you write (:plus 3 4 5), the system will barf.


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607