bug-kawa
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-kawa] [bug #40122] Extra whitespaces when displaying numbers


From: Per Bothner
Subject: [Bug-kawa] [bug #40122] Extra whitespaces when displaying numbers
Date: Fri, 27 Sep 2013 07:28:54 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36

Update of bug #40122 (project kawa):

                  Status:                    None => Wont Fix               
             Assigned to:                    None => bothner                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

It's an intended feature.  You can argue whether it's a good idea, and there
are certainly cases where things get more complicated, but at least for now
the feature stays.

The idea is the display is meant to print out numbers so they are
human-readable - and write prints them out so they are computer-readable. 
Neither of which is the case if (display 2) (display 3) produces "23".  You
can't meaningfully create 23 by concatenating 2 and 3.  Note the extra space
is only added *between* numbers (or other "atoms", like booleans and symbols
or characters when using write.  If you don't want an extra space, write a
string between the numbers - even an empty string will do:
(display 2) (display "") (display 3) ==> "23"

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40122>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]