Tom McNulty wrote at 09/20/2011 01:42 AM:
What is the Racket convention for named constants?
There is no convention in Racket that I know of. Pi can be "pi". Max. packet payload byte count can be "max-packet-payload-byte-count".
I don't see constants very often. There are many things, however, that a library author *could* make constant, but that instead are better made configurable. So, instead of being hard-coded values in the library, they are instead Racket parameters, or are arguments to procedures that produce closures or structs.
By the way, using all capital letters in an identifier is, of course, reserved for syntax transformer pattern variables.
-- http://www.neilvandyke.org/ _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users