Re:Strangest Language Features
by RodgerTheGreat on Thursday December 15, 2011 @09:08PM
(#3359074)
I presume that CL standardized on a base as a default, though? Otherwise you have an appropriately recursive problem that every base is "base-10" in that base.
edit: (setf read-base (+ 1 1 1 1 1 1 1 1 1 1)) :)
I just went and checked, and the standard gives a default value of "10." for read-base , so decimal by default (I think). It also says:
"Notes:
Altering the input radix can be useful when reading data files in special formats. "
The moral of this story: "See that control variable over there, the one that does weird things to parsing? Don't touch it unless you know what you're doing."