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

Re: Last call: Simple adjustable-size strings

This page is part of the web mail archives of SRFI 118 from before July 7th, 2015. The new archives for SRFI 118 contain all messages, not just those from before July 7th, 2015.



On 04/26/2015 04:44 PM, Shiro Kawai wrote:
A minor point, which I should've brought up much earlier---the
argument order of string-replace! is different from srfi-13
string-replace; the latter takes src string as the second argument,
before the positions.
The order in this srfi may make more sense, but I'm afraid
that having different argument order in very similar named
procedures cause confusions in future.

It's unfortunate, but:
(1) The specified argument order for string-replace! is documented
and in the wild in Kawa 2.0.
(2) It's not a *direct* conflict.
(3) I think it's more valuable to be compatible with the
argument order instring-copy!.
--
	--Per Bothner
per@xxxxxxxxxxx   http://per.bothner.com/