unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* format with ######F
@ 2003-06-17 12:02 Bill Schottstaedt
  2003-06-19 20:45 ` Marius Vollmer
  0 siblings, 1 reply; 4+ messages in thread
From: Bill Schottstaedt @ 2003-06-17 12:02 UTC (permalink / raw)
  Cc: bil

Another oddity in ice-9/format.scm:

guile> (use-modules (ice-9 format))
guile> (format #f "~,######F" 123.123)
"1231.2"

ACL has a similar bug:

USER(1): (format nil "~,######F" 123.123)
"123.1"

but CMU-CL and Clisp flag it as an error.



By the way, "Common Lisp the Language" says (page 581):
"it is not an error if one or more arguments remain
unprocessed by the directive", but:

guile> (format #f "~A" 1 2)

FORMAT: error with call: (format #f "~A<===" 1 ===>2 )
        1 superfluous argument



And not really a bug, I guess, but this strikes me as
weird:

guile> (format #f "~,,,,,,,F" 123.123)
"123.123"




_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile


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

end of thread, other threads:[~2003-09-12 15:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-17 12:02 format with ######F Bill Schottstaedt
2003-06-19 20:45 ` Marius Vollmer
2003-06-21 12:15   ` Bill Schottstaedt
2003-09-12 15:19     ` Marius Vollmer

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