From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yLmeFnvSj1++GgAA0tVLHw (envelope-from ) for ; Wed, 21 Oct 2020 06:17:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KPmUEnvSj1+UXAAAB5/wlQ (envelope-from ) for ; Wed, 21 Oct 2020 06:17:31 +0000 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 CCACD9403CA for ; Wed, 21 Oct 2020 06:17:30 +0000 (UTC) Received: from localhost ([::1]:60444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kV7RB-0006WW-A0 for larch@yhetil.org; Wed, 21 Oct 2020 02:17:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kV7Qp-0006Up-0T for guix-devel@gnu.org; Wed, 21 Oct 2020 02:17:07 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21119) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kV7Qj-0001Uu-T3 for guix-devel@gnu.org; Wed, 21 Oct 2020 02:17:06 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1603261017; cv=none; d=zohomail.com; s=zohoarc; b=GweavZsWtLDfUWDo2XJ105H9jqntBOUwO/5B0HGnawJFiQKP5ctEcB6nJeTxT+NFToPQ4HqKuqOf+N0RwSNTyeNlYipCtr2ksNSwTnDUYGe5iltjTf7xRkaQvHZ3vtl5x2T0uLj3hpOKGCePELFUe1WAjJAs2980/aL5DRMfhaw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1603261017; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=OrgfZ3utEOSSXD5m8m2xZrOE/DWItpn3j95kbAM7BmU=; b=Jemz9F26o5KhVVDScz6oeavjkjuvXs1fb8NkatzcFczhspqYotNi3vtHENZndWayUP1vDQGox/2n61ASpEAcpGU1ePfNoI2BcLIEHpttSsQnBYw5OKuGWNCvL/RNNAALKDY+dn2Nid7OhmeggLVdqc/UzKYSsNwgUxbfGoCphck= 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= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1603261017; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Message-ID:Date:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=OrgfZ3utEOSSXD5m8m2xZrOE/DWItpn3j95kbAM7BmU=; b=i+Tz1ll5XbI6bN0a+Zy/P612vjR5peVPsI7u7lIIj5P3a+5l0WPWOZdqDcsXBFEC 6WRRY82QVbNb6mWgCOVP/joiKRxp+4yktWzmA2TwCxGaDR4ATrMqdRvzAp8/Krx+K8i fJArtSKuvz4Ak5h7vFa6aaor5DHxofpH2rLd1lYQ= Received: from localhost (p54ad4c01.dip0.t-ipconnect.de [84.173.76.1]) by mx.zohomail.com with SMTPS id 1603261015660412.52054783529695; Tue, 20 Oct 2020 23:16:55 -0700 (PDT) References: <875z7a78ww.fsf@gnu.org> <20201020103244.GB6805@jurong> <871rhtw3tq.fsf@elephly.net> <87a6wg8j47.fsf@netris.org> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus To: Mark H Weaver Subject: Re: Using #true and #false everywhere? In-reply-to: <87a6wg8j47.fsf@netris.org> 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: <87r1psumnx.fsf@elephly.net> Date: Wed, 21 Oct 2020 08:18:42 +0200 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.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/21 02:16:58 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=elephly.net header.s=zoho header.b=i+Tz1ll5; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: 2.99 X-TUID: 7IM8P8zBdwBG Hi Mark, Mark H Weaver writes: > Ricardo Wurmus writes: > >> I think it=E2=80=99s very ugly that we still need to end phases with #T,= even >> though build systems don=E2=80=99t care any more. The only thing that a= borts a >> build phase now is an exception. > > I would be glad if this were the case, but I believe you're mistaken. > On both master and core-updates, in (guix build gnu-build-system), the > 'gnu-build' procedure iterates over the phases using 'every', and > procedure passed to 'every' ends by returning 'result', which is the > value that the phase returned. Am I missing something? No, you are correct. My meaning was more about intent; in the early days of the change to INVOKE I=E2=80=99ve seen a couple of warnings telling= me that a phase returned # or #F, but that didn=E2=80=99t result = in aborting the build. We have decided a long time ago that the only way to exit a build should be through an exception, so I think it=E2=80=99s tim= e to update the last few build system remnants of the Boolean assumption (on core-updates). --=20 Ricardo