public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: "Sudarshan S Chawathe" <chaw@eip10.org>
To: Kawa mailing list <kawa@sourceware.org>
Subject: Q about format's behavior with ~R directive
Date: Thu, 04 Feb 2021 16:34:58 -0500	[thread overview]
Message-ID: <16367.1612474498@localhost> (raw)

With the code

  (format #t "~R~%" 100)

I get

  hundred

but with the Common Lisp equivalent (I think)

  (format t "~R~%" 100)

in SBCL I get instead

  one hundred

I am unsure of how tightly specified any of this is, but to me the SBCL
output makes more sense.  Is this expected, allowed, by design, a
bug, or something else? 

A related question: Is it correct that Kawa uses SLIB's test file for
format (formatst.scm in testsuite) but not SLIB's implementation of
format? 

Regards,

-chaw


             reply	other threads:[~2021-02-04 21:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-04 21:34 Sudarshan S Chawathe [this message]
2021-02-04 23:41 ` Charles
2021-02-04 23:42   ` Charles
2021-02-05  1:04     ` Per Bothner
2021-02-05  0:09 ` Per Bothner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16367.1612474498@localhost \
    --to=chaw@eip10.org \
    --cc=kawa@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).