On 7/31/05, Alejandro Forero Cuervo <[EMAIL PROTECTED]> wrote:
> Hi.
>
> I just thought I'd report a bug in format that has bit me recently.
> It is very easy to reproduce:
>
> (use srfi-1 format)
> (format #f "~{ ~A~}" (iota 200))
>
> Notice that the returned string includes the numbers fro
Hey.
> Replacing that dreaded format unit would be very nice, but any replacement
> should provide the same (or at least roughly the same) functionality.
> How much is currently missing? If it's not too much, I'd happly replace
> the current version.
Well, it currently passes all the tests I have
At Mon, 1 Aug 2005 14:10:48 -0500, Alejandro Forero Cuervo wrote:
>
> As far as I can see, I'm missing support for the following sequences:
> ~R, ~F, ~E, ~G, ~$, ~&, ~|, ~I, ~Y and ~Q.
You may want to look at http://synthcode.com/scheme/cl-format.scm
(Gauche Scheme, should be easily portable). I
At Mon, 1 Aug 2005 21:13:38 -0500, Alejandro Forero Cuervo wrote:
>
> It doesn't support ~{, ~;, ~}, ~[, ~^, ~}, right?
Yes, so between the two of us I think we have about everything
covered :)
> Would it be okay with you if I take some of the code there and include
> it as part of my implementa
> You may want to look at http://synthcode.com/scheme/cl-format.scm
> (Gauche Scheme, should be easily portable). It provides an extensible
> format framework with inheritance, with example implementations for
> SRFI-28, SRFI-48, SRFI-19 date formatting, C's printf, and CL's
> format, minus progra