Re: Keywords as enumerations

2010-08-03 Thread Laurent PETIT
Should probably have been written "as enumeration values" (and not solely "as enumerations"). 2010/8/3 vishy > Hi, > > In "The Joy of Clojure" book, it is mentioned > "Very often Clojure code will use keywords as > enumerations: :small :m

Re: Keywords as enumerations

2010-08-03 Thread Nicolas Oury
t as old as C's enum. (I am not old enough to track the notion further) On Tue, Aug 3, 2010 at 6:37 PM, vishy wrote: > Hi, > > In "The Joy of Clojure" book, it is mentioned > "Very often Clojure code will use keywords as > enumerations: :small :medium :large.&quo

Keywords as enumerations

2010-08-03 Thread vishy
Hi, In "The Joy of Clojure" book, it is mentioned "Very often Clojure code will use keywords as enumerations: :small :medium :large." What does this mean? thanks -- You received this message because you are subscribed to the Google Groups "Clojure" group. To pos