unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Debian 1.4 (at least) and current slib somewhat borked.
@ 2002-07-10  6:49 Rob Browning
  0 siblings, 0 replies; only message in thread
From: Rob Browning @ 2002-07-10  6:49 UTC (permalink / raw)



If you try the code below from a prompt or via "guile -l", you'll see
"~B", but if you run guile, then run (load "filename.scm"), you'll see
"101".  In the former case you'll be using simple-format, even though
the code asks for slib's format.  In the latter case you get slib's
format as expected.  I haven't tracked this down yet, but I'll look at
it tomorrow.

  #!/usr/bin/guile \
  -s
  !#

  (use-modules (ice-9 slib))
  (require 'format)
  (display format) (newline)
  (format #t "~B\n" 5)

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG=1C58 8B2C FB5E 3F64 EA5C  64AE 78FE E5FE F0CB A0AD

_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-10  6:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-10  6:49 Debian 1.4 (at least) and current slib somewhat borked Rob Browning

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