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 mGqkDX/OxmMv6wAAbAwnHQ (envelope-from ) for ; Tue, 17 Jan 2023 17:36:15 +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 4EeZDH/OxmPrOwAAG6o9tA (envelope-from ) for ; Tue, 17 Jan 2023 17:36:15 +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 0694F29B16 for ; Tue, 17 Jan 2023 17:36:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHovy-0001OE-RZ; Tue, 17 Jan 2023 11:35:38 -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 1pHovd-0001Gr-2D for guix-devel@gnu.org; Tue, 17 Jan 2023 11:35:17 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHovb-0007UW-1q; Tue, 17 Jan 2023 11:35:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=Wk6sFI0uHrL9nT6uKurcHf5zwYjVEh8Kr9pGemp7fro=; b=qDZgPG2zF6bMc7s/oMEA xmZSCyn+ofDPYN47KYnz/yE9nOASm959w7/PySiqLcDi1MUApKHoHyFJF+bZG0KM/jkASRX6uvWlF 57zVk06ii0nLrjaYQ29y2KWLCtLYlIP97Irv+iWEXsnQLnCmT/Qh3lnk+TClccUM9AbsRGwNLaKFi A/8yQ1ZBR2i3aH9wYHtOCq51YQqFJPJmwXOEVeBTvmiJWK8Lc/uMPMbSc7VgJa7h41ZxocaLKy2ZZ ss+vU6RE2Y4AIaygFKCbVDJ9qxtbnJirdSLk9qATvK3VWWYXUEzHc//h+gVzVGwZpyoee6f6bVjXE iTi4S5EdiYXSIQ==; Received: from [193.50.110.246] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHova-0008An-JR; Tue, 17 Jan 2023 11:35:14 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxim Cournoyer Cc: zimoun , Guix Devel , Tobias Geerinckx-Rice , Josselin Poiret , Mathieu Othacehe , Christopher Baines , Ricardo Wurmus 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.) References: <20230114041903.7121-2-maxim.cournoyer@gmail.com> <87o7r19ocn.fsf@gnu.org> <87mt6i5q4q.fsf@gmail.com> <864jsq8ch1.fsf@gmail.com> <87r0vu2lax.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Octidi 28 =?utf-8?Q?Niv=C3=B4se?= an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Zinc X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 17 Jan 2023 17:35:11 +0100 In-Reply-To: <87r0vu2lax.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 16 Jan 2023 16:59:02 -0500") Message-ID: <874jspdsqo.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=qDZgPG2z; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673973375; a=rsa-sha256; cv=none; b=nVjp4cJRzCnOx2WFY8CpwQRO1LZM/CSl9f5ZkPVone2be9xH53M7JA1/quPDfuoEOMTC1X ETm4sncHHaUrFBE9KtFomi2PrbE6Mf9Z6b+PhbhXmrDClS6blBkyFaBcV3AK+ru2bthwrB 9KOwD3yNIFBExHSwm5CTWOkaRvUnGdbGi9uob+rdifO4csHZVATUYOIAWvsgHOR3A1IAy5 a8G17XKnFwD261Clw4fCqtimjxakaLnhy7p13V/Tc5hgjk6exrHpkJ1kb6yHY+guK9Vbaj 8WdewYT+NDN1xOOXtSt47fmKEgo2TS9INxJrsrAxjkwU/FAw0v3aCUku0SOXpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673973375; 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=Wk6sFI0uHrL9nT6uKurcHf5zwYjVEh8Kr9pGemp7fro=; b=nCsRTmM9z6ZMDJrhIbbnApNIa7yP8weqDh0XHNadtT/+q1D8TKWAiAwJec5VRkoGFWUW6P CvMGjxfZH/iQl1ifX+QEOQHtTgX2QKVnk5bL3iLZ+Ho8Ucnf9U8W2UFsQCwJ4EGb+v/NQI 08orWSdX3KgMSAwM5Ea97YPSjMh3cZ3E8oqgo2E1WvslCHZCak6fIvnlAB420Sfg+sYmeG cSfDO3wrMjt+17iQjXUpJiiLkkXiwzSm9t9U5FezcIjXCP3fP4DImQDVsnKGa1jO4FeHgz 9pd4DWurud+NqwZmXQhvrZVtkET+mTpoRK/yfEd/nG008ia+EN7DSJrWXNpAKQ== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=qDZgPG2z; 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=pass (policy=none) header.from=gnu.org X-Migadu-Spam-Score: -6.09 X-Spam-Score: -6.09 X-Migadu-Queue-Id: 0694F29B16 X-Migadu-Scanner: scn1.migadu.com X-TUID: dy2xd3xkQhpD Hi! Maxim Cournoyer skribis: > There are also many old-school catch/throw references too, so that makes > it two! These can technically be handled using the new style mechanism > too Well, yes and no. The migration to from key+args (what =E2=80=98catch=E2= =80=99 deals with) to exception objects (=C3=A0 la SRFI-35 or (ice-9 exceptions)) was started in 3.0, but it=E2=80=99s not =E2=80=9Ccomplete=E2=80=9D in the sens= e that internally key+args is still what=E2=80=99s used in the vast majority of cases. Quoth =E2=80=98NEWS=E2=80=99: Guile's situation is transitional. Most exceptions are still signalled via `throw'. These will probably migrate over time to `raise-exception', while preserving compatibility of course. So I guess the first task is to work on it in Guile proper. I do hope we can eventually do away with =E2=80=98catch=E2=80=99 in most pa= rts of the code and stick to SRFI-34 =E2=80=98guard=E2=80=99. Thanks, Ludo=E2=80=99.