Re: Keywords also have a literal syntax

2010-08-04 Thread MichaƂ Marczyk
On 4 August 2010 07:33, vishy wrote: > What does it mean? It simply means that there is a class of strings which will be read in by the reader as keywords. (This is the class of strings starting with one or two colons followed by a string of characters which would, on its own, be read in as a sym

Re: Keywords also have a literal syntax

2010-08-03 Thread Daniel Gagnon
On Wed, Aug 4, 2010 at 1:33 AM, vishy wrote: > What does it mean? Does it mean that :hello itself is a value,so we > call it literal syntax.Also, this form of vector [1 2 3] is also > literal syntax. > A vector evaluates all of its arguments. If I write [1 2 (+ 1 2)], I'll get the same vector

Keywords also have a literal syntax

2010-08-03 Thread vishy
What does it mean? Does it mean that :hello itself is a value,so we call it literal syntax.Also, this form of vector [1 2 3] is also literal syntax. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegr