Format doesn't handle signed numbers properly

Per Bothner per@bothner.com
Sun Oct 2 17:08:00 GMT 2011


On 09/30/2011 05:53 AM, Charles Turner wrote:
> In CLTL (22.3.3. Formatted Output to Character Streams) there's the
> following sentence:
> "The prefix parameters are generally integers, notated as optionally
> signed decimal numbers. "
>
> So, numbers like +20 should be parsed.

I agree.  BTW, I recommend using the Common Lisp HyperSpec (rather than 
CLTL),
in case you're not familiar with it.  Specifically:
http://www.lispworks.com/documentation/HyperSpec/Body/22_c.htm
You cam use it online, or download a copy from here:
http://www.lispworks.com/documentation/common-lisp.html

> Charles.
> (ChangeLog + test cases will be sent if you consider this a worthwhile change)

I checked in your patch. If you have testcases I'll be happy to check 
thm in.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/



More information about the Kawa mailing list