From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: lloda Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Add string-replace-substring to (ice-9 string-fun) Date: Sun, 5 Jan 2020 15:01:20 +0100 Message-ID: <06A75D0F-6B33-4363-8226-0ABE539E9079@sarc.name> References: <27656CBA-297B-4EE3-93D6-FD56BFBDDC44@sarc.name> <87imlqyw5x.fsf@pobox.com> <87k166ump3.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="239267"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Andy Wingo , guile-devel To: Jan Nieuwenhuizen Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Jan 05 15:01:33 2020 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1io6TF-00108r-3g for guile-devel@m.gmane.org; Sun, 05 Jan 2020 15:01:33 +0100 Original-Received: from localhost ([::1]:42488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1io6TD-0002ps-A8 for guile-devel@m.gmane.org; Sun, 05 Jan 2020 09:01:31 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37304) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1io6T9-0002pm-I1 for guile-devel@gnu.org; Sun, 05 Jan 2020 09:01:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1io6T8-0008Kn-Iw for guile-devel@gnu.org; Sun, 05 Jan 2020 09:01:27 -0500 Original-Received: from mta-05-3.privateemail.com ([68.65.122.15]:9504) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1io6T8-0008In-CQ; Sun, 05 Jan 2020 09:01:26 -0500 Original-Received: from MTA-05.privateemail.com (localhost [127.0.0.1]) by MTA-05.privateemail.com (Postfix) with ESMTP id 2EBC560050; Sun, 5 Jan 2020 09:01:23 -0500 (EST) Original-Received: from [192.168.1.105] (unknown [10.20.151.208]) by MTA-05.privateemail.com (Postfix) with ESMTPA id 6F7246004B; Sun, 5 Jan 2020 14:01:22 +0000 (UTC) In-Reply-To: <87k166ump3.fsf@gnu.org> X-Mailer: Apple Mail (2.3445.104.11) X-Virus-Scanned: ClamAV using ClamSMTP X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 68.65.122.15 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:20223 Archived-At: > On 5 Jan 2020, at 13:12, Jan Nieuwenhuizen wrote: > > Andy Wingo writes: > >> On Fri 20 Dec 2019 18:32, lloda writes: >> >>> This patch adds string-replace-substring that wingo posted to the >>> mailing list to (ice-9 strings). This is a commonly used function and a >>> good implementation isn't trivial, so I think it deserves inclusion. >> >> I didn't know that this module existed :) Sure, why not. Please fix >> the commit message when you push. > > That's great! This is one of the things that has always amazed and > annoyed me to be missing and I have written several half-baken > implementations of it when I needed something like it. > > Would it be too much to ask for some documentation to go with it, so > that we will be able to find it? Sure, I'll include that in the fixed patch. Regards Daniel