Marius Vollmer
d02655f717
(format): Wrap a monitor around format:format since it is not
...
thread-safe.
2002-11-03 19:14:08 +00:00
Marius Vollmer
a0c39db327
(format:out-inf-nan): New.
...
(format:out-fixed, format:out-expon, format:out-general): Use it
to print infs and nans.
2002-05-09 19:37:37 +00:00
Marius Vollmer
e23028a580
(format:fn-max): Increase to 400 so ~f and ~g can print long real
...
numbers with large positive and negative exponents.
2002-05-08 20:00:59 +00:00
Marius Vollmer
4dd9ecedf7
(string-index, list-head): Removed, we already these in the core.
2001-11-27 22:36:21 +00:00
Dirk Herrmann
8c494e9973
* Removed lots of deprecated stuff.
2001-08-31 14:42:31 +00:00
Marius Vollmer
3cc34e16be
Use (ice-9 and-let-star).
...
(format:out): Initialize format:output-col with current column of
`port', if it has one. Else leave it alone. Thanks to Matthias
Köppe!
2001-06-09 18:14:36 +00:00
Marius Vollmer
9a7d04c37c
Added kluge at top that keeps `export' from
...
re-exporting the `format' variable of the `(guile)' module.
2001-06-04 22:09:39 +00:00
Marius Vollmer
b337528fb5
* Makefile.am (ice9_sources): Added "pretty-print.scm".
...
* pretty-print.scm: New file, copied from SLIB.
* format.scm: Autoload `pretty-print'.
2001-05-25 00:15:32 +00:00
Marius Vollmer
296ff5e78b
Merged from mvo-vcell-cleanup-1-branch.
2001-05-15 14:59:42 +00:00
Mikael Djurfeldt
a510a7d8d5
* format.scm (format:obj->str): Made tail-recursive. (Thanks to
...
Matthias Köppe.)
2000-08-14 15:40:03 +00:00
Mikael Djurfeldt
186cf94654
* format.scm (format:obj->str): Handle circular references. Also,
...
print improper lists with (x y . z) syntax rather than as
individual pairs. (This code should probably be integrated into C
level facilities. It is currently terribly slow.)
2000-04-04 11:40:39 +00:00
Mikael Djurfeldt
1af9072d73
* format.scm (format): Reintroduce (define format format:format)
...
so that the binding in the public interface of the module will be OK.
2000-02-11 04:48:07 +00:00
Greg J. Badros
14469b7c69
* format.scm: Use (variable-set! (builtin-variable 'format)) to
...
re-define format to be format:format (instead of just define,
which interacts poorly with the module system). Thanks to Shuji
Narazaki for this change.
2000-01-20 20:58:30 +00:00
Jim Blandy
8a7391cd1a
* format.scm (format:format-work): Use #\tab and #\page instead of
...
slib:form-feed and slib:tab. (Thanks to Ceri Storey.)
* format.scm (format:abort): Call error, not slib:error.
1999-09-11 17:51:09 +00:00
Jim Blandy
9c792b5df0
* string-case.scm: Removed; functions moved to libguile/strop.c
...
(which could be dynamically linked in the future anyway).
* format.scm: Don't bother importing (ice-9 string-case).
1999-05-09 08:21:28 +00:00
Jim Blandy
7da43e4123
* format.scm: New file, brought in from SLIB, with the following
...
changes:
(format:format): If the first argument is the format string, stick
a #f on the front of it, so it is now a valid CL format argument
list. This is easier than changing everyplace else (like the
error formatter) that expects it to be in CL form. The other
clause which explicitly tests for this case is now dead code.
(format:format-work): Allow `@' and `:' in either order, as per
modern CL behavior.
(format:num->cardinal): Don't assume that an elseless if returns
'() when the condition is false.
1999-05-02 17:27:20 +00:00