I think "enumeration" here refers to "a given number of possible choices"
Here, it refers to a size, that can be one of the three (:small, :medium, :large). The choices are known in advance and in finite number. It is a traditional way of describing that, that is at least 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 <[email protected]> wrote: > 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 post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
