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

Re: [Scheme-reports] Suggestion to put display and newline in the same library

On Fri, Nov 23, 2012 at 7:08 PM, Christian Stigen Larsen <csl@x> wrote:

in the latest draft,

  * newline is in (scheme base)
  * display is in (scheme write)

Wouldn't it make more sense to have them in the same library?

The issue is that in all (or almost all) implementations,
display is defined in terms of write for non-char/string
arguments.  Since write is a large and fairly complicated
procedure, and not actually needed in many programs,
it was moved into a separate library.  Newline, however,
is a much simpler operation defined in terms of write-char.


Scheme-reports mailing list