From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Maxim Cournoyer Newsgroups: gmane.lisp.guile.devel Subject: Re: Question: planning support for SRFI-125, SRFI-133? Date: Tue, 31 Oct 2023 08:48:41 -0400 Message-ID: <87y1fjt0t2.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13049"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: guile-devel@gnu.org To: Ramin Honary Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Tue Oct 31 13:49:28 2023 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qxoBT-0003DL-L7 for guile-devel@m.gmane-mx.org; Tue, 31 Oct 2023 13:49:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxoAv-0004GP-Lk; Tue, 31 Oct 2023 08:48:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qxoAq-0004FO-1r for guile-devel@gnu.org; Tue, 31 Oct 2023 08:48:49 -0400 Original-Received: from mail-yw1-x112a.google.com ([2607:f8b0:4864:20::112a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qxoAn-0002Hb-M5 for guile-devel@gnu.org; Tue, 31 Oct 2023 08:48:47 -0400 Original-Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-5a7fb84f6ceso48734887b3.1 for ; Tue, 31 Oct 2023 05:48:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698756523; x=1699361323; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=R5UE017K2A8rQJ7V4lwrz3gHJz88IY1dzuTWrwEb6jA=; b=lhkpu7Qu/+SHZ9Nfgp85wjZIhYFEGUwtSMjbvd4njG5ZcRxvjTQlQmbJjcRQw9Xulq g0aPabVf3p03Y+7W5WpBVQbh4PgdJWmS0Yi/IgHt99mT/vHqepPoOgd32V6XoV4s5wT8 cUJJ7jCpces9NHJ7hYieWSl/S1I8W0VnZG/3PLigfYKe46fQ/FM/8tX8GqzFDPVdAfwk QuYc4YKb63Su48BCYI95X4c09mcMvFCp7MU4QR0c1geFZqzizgJNvL/QKJpgAU79QI8g cEGUPSCMZQB4+7h2Vycsb3bEF8qm8rwAePiTNmZ2wTOi1l2LwXgpmKdHTBdzObrrtHCP DnGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698756523; x=1699361323; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=R5UE017K2A8rQJ7V4lwrz3gHJz88IY1dzuTWrwEb6jA=; b=ZGOKtFClA15+ZL5z6bcIGfiUHG4t5402v0OcfWZl4a7nDJn1jsAImBDvnfk8s71n6h az9ZQM+JbAdh+bm956OOxrIQ+yV2YYOXGFG+LOvGk/Nuaq0o1hxhwZUWLRlPUx3toUhx 0/JMr2S+KZ+LzYirqbTBFQ0syVEEP7iOPY4MFi4skiRnJ2WU7Zkvr3ZhHcXlAZcYA9gy DatBznQ+6rY2W+GeSIGEFL4rltDw2aZeNRjA+VVecoiV2aP9Cp1woDerd0fgQrdJzFDT DrGL7MtxzDvOdXGlM4O4YfNwLB3jvX5QdO/4SXN4GvHqO11141OXnrYmcQ5+cnMVO/fl lNZw== X-Gm-Message-State: AOJu0YwFz/nJQVATcIAI2luvwlV3J6TO/rkQF1nN9VR9BTqjmthVJaly vQClMm+tbGlrzxb6s8DqlK08nns6tXg= X-Google-Smtp-Source: AGHT+IEXrOTojrYI8UYlH4aiffs9hDhwL3gNN01YhTKLLUxGIIN0gm5XpdeOCqLOLZmWfBMTRMELzA== X-Received: by 2002:a81:ed0a:0:b0:5a5:575:b222 with SMTP id k10-20020a81ed0a000000b005a50575b222mr10293580ywm.23.1698756523268; Tue, 31 Oct 2023 05:48:43 -0700 (PDT) Original-Received: from hurd (dsl-10-128-239.b2b2c.ca. [72.10.128.239]) by smtp.gmail.com with ESMTPSA id t14-20020a0cef4e000000b0064f53943626sm487299qvs.89.2023.10.31.05.48.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 05:48:42 -0700 (PDT) In-Reply-To: (Ramin Honary's message of "Mon, 30 Oct 2023 19:24:56 +0900") Received-SPF: pass client-ip=2607:f8b0:4864:20::112a; envelope-from=maxim.cournoyer@gmail.com; helo=mail-yw1-x112a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.devel:22055 Archived-At: Hi, Ramin Honary writes: > Hello Guile developers: > > I have come to realize that there are several finalized SRFIs > published by John Cowan and others, for example, SRFI-133 (vector > library), SRFI-125 (intermediate hash tables), SRFI-126 (R6RS-based > hash tables) that were intended to replace older SRFIs (for example > SRFI-43, and SRFI-69) when R7RS-large is supposed to be ratified. > > Looking at the functionality already available in Guile, it seems like > these newer SRFIs could very easily be supported since the > functionality is already fully implemented and could be re-exported as > modules in the (srfi srfi-*) modules. And incidentally, GNU/MIT Scheme > does provide support for SRFI-125 and SRFI-133 already. > > So I am wondering why this hasn't been done in Guile yet? Is it a lack > of time and human resources? Or is it somehow against the Guile > philosophy to try to implement these newer SRFIs? Or maybe you want to > wait until R7RS-large is ratified? > > If it is a lack of resources, I might like to try implementing these > SRFIs in Guile and submit a patch. > > Thanks for your time and hard work implementing Guile! I think it's just a matter of someone integrating it, making sure the test suites they provide build fine and documenting these to a minimum in the manual. I also need srfi-125 (and srfi-128), which are requirements for srfi-209, which I'd like to add. I have no experience adding SRFIs to Guile, but it looks relatively straightforward, assuming the existing implementation is compatible with Guile (past commit logs are probably helpful as well, e.g. 5f60eb6bb5af418b332101c69c88da639b117ae4, which added srfi-171). -- Thanks, Maxim