guile-devel
[Top][All Lists]
Advanced

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

Re: Patch for ice-9/format.scm (removes arbitrary ~{...~} iteration limi


From: Kevin Ryde
Subject: Re: Patch for ice-9/format.scm (removes arbitrary ~{...~} iteration limit)
Date: Mon, 19 Jul 2004 10:47:06 +1000
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

Matthias Koeppe <address@hidden> writes:
>
> Kevin, could you commit the patch to CVS then?  I think this should
> go into HEAD and the stable branch.

Done.  Thanks.

> +  (pass-if "format ~F (format-out-substr) maintains the column correctly"
> +        (= (string-length (format "address@hidden" 1)) 20)))

Marius has applied this to the head previously.  You can argue for it
in the 1.6 if it addresses some bug or misfeature.

> +  (pass-if "format ~{ has no arbitrary iteration limit"
> +        (= (string-length (format "~{~a~}" (make-list 200 #\b))) 200)))

Tests exercising the other three iteration forms (~{ modifiers) would
be nice, since the code for those is separate.




reply via email to

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