public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
* Q about format's behavior with ~R directive
@ 2021-02-04 21:34 Sudarshan S Chawathe
  2021-02-04 23:41 ` Charles
  2021-02-05  0:09 ` Per Bothner
  0 siblings, 2 replies; 5+ messages in thread
From: Sudarshan S Chawathe @ 2021-02-04 21:34 UTC (permalink / raw)
  To: Kawa mailing list

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-02-05  1:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04 21:34 Q about format's behavior with ~R directive Sudarshan S Chawathe
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

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).