On 30 Nov., 12:49, "Mark Volkmann" <[EMAIL PROTECTED]> wrote: > On Sun, Nov 30, 2008 at 12:11 AM, Jeff Bester <[EMAIL PROTECTED]> wrote: > > > ;; used for order of evaluation table and for valid infix operators > > (def +precedence+ > > {'rem 5, > > '* 4, > > '/ 3, > > '+ 2, > > '- 1}) > > What's the significance of this map being named with a leading and > trailing plus? I haven't encountered that before.
This is a naming conventions for constants. (def +faculty-of-5+ 120) In principle everything that you (def ...) is a constant in Clojure. It’s a style issue to help others to read your program. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---