[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: add printf.scm to ice-9?

From: Per Bothner
Subject: Re: add printf.scm to ice-9?
Date: Sun, 07 Apr 2002 13:30:43 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9+) Gecko/20020328

Matthew R Wette wrote:
Marius Vollmer writes ...

Matthew R Wette <address@hidden> writes:

I have been heavily using guile for an application at here at work.
Guile seems to have everything I need except one item: printf.

Can't you use 'format' (which is the Lisp version of printf)?

I want formats like %12.5e and %-20s.
My understanding is that this is not in format.

The Common Lisp specification of format har more parameters
and options and bells and whsitles than printf, by far.  Guile's
implementation of format is based on the slib version, and supports
a large subset of the Common Lisp specification.  I've also implemented
most of Common Lisp format within Kawa:

#|kawa:1|# (format "[~12,5e]" (sqrt 2))
[  1.41421E+0]
        --Per Bothner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]