On Nov 24, 2:26 pm, Rich Hickey <[EMAIL PROTECTED]> wrote:
> I think you've both misread "they cannot name classes" to be - "They
> cannot contain class names".
>
> The symbol String can name a class but the keyword :String can't,
> that's all I meant there.
Ah, I get it now.
> As far as '.', th
Somewhat related, I noticed that the keyword function doesn't seem to
make any attempt at ensuring keywords are even readable.
user=> (keyword "(foo)")
:(foo)
Is this intended?
On Nov 24, 9:26 am, Rich Hickey <[EMAIL PROTECTED]> wrote:
> On Nov 23, 9:09 am, James Reeves <[EMAIL PROTECTED]> wrot
On Nov 23, 9:09 am, James Reeves <[EMAIL PROTECTED]> wrote:
> On Nov 23, 11:38 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > Hi,
>
> > According tohttp://clojure.org/reader:
>
> > > Keywords are like symbols, except:
>
> > > o They can and must begin with a colon, e.g. :fre
On Nov 23, 11:38 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> According tohttp://clojure.org/reader:
>
> > Keywords are like symbols, except:
>
> > o They can and must begin with a colon, e.g. :fred.
> > o They cannot contain '.' or name classes.
>
> Shouldn't t
Hi,
According to http://clojure.org/reader:
> Keywords are like symbols, except:
>
> o They can and must begin with a colon, e.g. :fred.
> o They cannot contain '.' or name classes.
This is what I get using the latest SVN revision (1211):
user=> (keyword? :String)
true
user=>