[Top][All Lists]

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

Re: return value of `string-set!'

From: Ludovic Courtès
Subject: Re: return value of `string-set!'
Date: Sat, 17 Aug 2013 14:52:09 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

William ML Leslie <address@hidden> skribis:

> On 15 August 2013 08:33, Alexandru Cojocaru <address@hidden> wrote:
>> Hi,
>> currently `string-set!' returns an unspecified value. What about making it
>> return `str' instead?
> Functions whose specific purpose is to mutate the provided value
> usually don't return the value because that is a common source of bugs
> - this a common pattern in the string code and generally, too.

Plus these functions are standard (RnRS, SRFI-13, etc.)


reply via email to

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