Email list hosting service & mailing list manager

About Printing numbers with underscores Hugo Hörnquist (19 Apr 2019 22:01 UTC)
Re: About Printing numbers with underscores John Cowan (20 Apr 2019 01:01 UTC)

About Printing numbers with underscores Hugo Hörnquist 19 Apr 2019 22:00 UTC

This is a response to the other thread. I would have written
it there but I just subscribed.

----------------------------------------

> What about printing underscores in the REPL though? I thought that would
> be the main thing that's useful. A typical example would be using the
> Scheme REPL as a fancy calculator. It's not as critical (and can often
> be unwanted) to have underscores when printing S-expressions to files.

Don't we already have the `display'/`write' distinction for
this? So that display could print numbers with underscores,
and write would give "plain" numbers?
--
hugo