From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UE5/N27SxWPaJgEAbAwnHQ (envelope-from ) for ; Mon, 16 Jan 2023 23:40:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uEGnNm7SxWPHEQEAG6o9tA (envelope-from ) for ; Mon, 16 Jan 2023 23:40:46 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AA94F3BDE8 for ; Mon, 16 Jan 2023 23:40:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHY9M-0005SF-Ih; Mon, 16 Jan 2023 17:40:20 -0500 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 1pHY9K-0005Rj-QL for guix-devel@gnu.org; Mon, 16 Jan 2023 17:40:18 -0500 Received: from sender3-of-o59.zoho.com ([136.143.184.59]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHY9I-0001kZ-RP; Mon, 16 Jan 2023 17:40:18 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1673908810; cv=none; d=zohomail.com; s=zohoarc; b=ifPSckySg69w4SbrYKXkQAbUW1i9oABhEJmtm7GakbgWjuKoI0fLBoxxlmdTDYRdR0LUUjUF9iH46D5rHK+vLrsacp/Uy5Bpbqvq88POHVZRBSOpOqpk4yiCB175fQf1xcxfd5V/NuJTJChZRB+c8Wwg747C3FCrwPTLgLpP8S0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673908810; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=CAZ9FnLlwCChj+zPfKvvDenc7I2WvgFcxw88g1dcPXU=; b=kEqr2rVlnncL7zzG8MJp27wiD1W8HNzGJkillDJE1HFb7sYLyjO9lMDbUl/0SR0CjKCPxEHGjE5VnsI0mMOjm2xoMxgEBA4FDZESH+yuzvzyARipzYSBzQS+l0VeSevNYew1tvA1pPebL48RpWfylMoS2AlsfETpAwEk+pyGcAY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1673908810; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=CAZ9FnLlwCChj+zPfKvvDenc7I2WvgFcxw88g1dcPXU=; b=BQt5sibIG1AZlOZr7BNnEGcIfRJnVgIutHcGhfHSK6/fdG0ipJn01EXe18TcSwHY eo4tNe0Ds3S+ZXAnWootQ9P9qjPMl0IhslSm5owTxCVIDzEFO5itKLD7urgFp75OEm+ PrmEn15d3imN/DDyJSYk4Rv9uIsyxF2W/5f1Fwa4= Received: from localhost (243-109-142-46.pool.kielnet.net [46.142.109.243]) by mx.zohomail.com with SMTPS id 1673908808601387.04302659748123; Mon, 16 Jan 2023 14:40:08 -0800 (PST) References: <20230114041903.7121-2-maxim.cournoyer@gmail.com> <87o7r19ocn.fsf@gnu.org> <87mt6i5q4q.fsf@gmail.com> <864jsq8ch1.fsf@gmail.com> User-agent: mu4e 1.8.13; emacs 28.2 From: Ricardo Wurmus To: zimoun Cc: Maxim Cournoyer , Ludovic =?utf-8?Q?Court?= =?utf-8?Q?=C3=A8s?= , Guix Devel , Tobias Geerinckx-Rice , Josselin Poiret , Mathieu Othacehe , Christopher Baines Subject: Re: Exception: srfi-35 vs (ice-9 exceptions (was Re: [bug#60802] [PATCH v2 1/2] platforms: Raise an exception when no suitable platform is found.) Date: Mon, 16 Jan 2023 23:35:58 +0100 In-reply-to: <864jsq8ch1.fsf@gmail.com> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87bkmyje7v.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.184.59; envelope-from=rekado@elephly.net; helo=sender3-of-o59.zoho.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=BQt5sibI; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none; arc=pass ("zohomail.com:s=zohoarc:i=1") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1673908846; a=rsa-sha256; cv=pass; b=ffCR0MF7zpy7YCPlI2XZ5qnuA2uzr0ayJKFHQCfYQkjWnPm3K7tPK0goAWoyD7FIE3Cwc7 PmMs0uYKTe/QawJuJXOSTTA0CY8OVM+1GjU78z7Mcxw6qkaUjpTp1NyGIQgcO8YFHVYayO Hqjm3O2BvnaJOGG9DQjzY3mpAXqX52j6LCTu6N6yuTWyL7epoOyCbY3L+jB1Eo28fuU0ig dc9UNOA1PMDNzAiJHVsnXNF9eVDgzY6ueCADXfek1qebaEfnX/XoASDw7YyeJuDk8Zcn4c NIMXC1kxTIuQ1d+yHpwLDXTOKqFeR5cU/qtXjlmdxpi+7kz1hgRz4TXt1iu2Cg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673908846; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=CAZ9FnLlwCChj+zPfKvvDenc7I2WvgFcxw88g1dcPXU=; b=fHCrH29kfPcVGg/orthHqKivqZovQXT1XC7kJZuvCqWk+ZsnPyFXAG9dBA6JuUhqIGZMaf NKVqqI/I6kKk7h6MDaHbCjJLiCzhShpcXaYt0QYzKWGoSM94WO3RSafTyKyh7NzRHthA+Y csQ0NjfyaqoVsOW24b2jyuvK9CZmhLi/aCMs7/g/4pBbVPvYzPdmiZTE2C5Oa/IcDo3PKj YS4Tg+1P571XReoegFc68HStm9hZWtwxc3ivpBOstdm4L/oJ2WqxOly4rKPV6+CS+gkiVM DZCpW9tJsLSE8YEseu76sXObFtQeVJqN32twknAXAyk0I6suo+4A0fCbXZHqyg== X-Migadu-Queue-Id: AA94F3BDE8 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=BQt5sibI; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none; arc=pass ("zohomail.com:s=zohoarc:i=1") X-Migadu-Spam-Score: -5.30 X-Spam-Score: -5.30 X-TUID: 0BHPsLpvP6KJ zimoun writes: > On Mon, 16 Jan 2023 at 12:46, Maxim Cournoyer = wrote: > >>> So far the we use (srfi srfi-35) exclusively to define condition types; >>> I think we should do the same here, for consistency. >> >> Could we instead start migrating away from srfi-35 to (ice-9 >> exceptions), which is the new native way to use exceptions in Guile?=20= =20 [=E2=80=A6] >> think it'd be nicer to use it in the future, to avoid newcomers being >> confusing about the 3 or 4 ways to manage exceptions in Guile >> (recommended read on the topic: >> https://vijaymarupudi.com/blog/2022-02-13-error-handling-in-guile.html). > > In Guile maybe several but only one in Guix: (srfi srfi-35). :-) With the introduction of (ice-9 exceptions), SRFI 35 has also been rebased on top of it.[1] Personally, I=E2=80=99d rather stay with the well-established interface pro= vided by SRFI 35. It seems like needless churn to rewrite all current exception handling to drop down one layer onto Guile-specific infrastructure. --=20 Ricardo [1]: https://lists.gnu.org/archive/html/guile-commits/2019-11/msg00002.html