From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CJloBcTzjl83MAAA0tVLHw (envelope-from ) for ; Tue, 20 Oct 2020 14:27:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SBsyAcTzjl93RAAAbx9fmQ (envelope-from ) for ; Tue, 20 Oct 2020 14:27:16 +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 C38999403EC for ; Tue, 20 Oct 2020 14:27:15 +0000 (UTC) Received: from localhost ([::1]:38188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUsba-0000mN-OJ for larch@yhetil.org; Tue, 20 Oct 2020 10:27:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUsbS-0000mG-A3 for guix-devel@gnu.org; Tue, 20 Oct 2020 10:27:06 -0400 Received: from mail-qt1-x82c.google.com ([2607:f8b0:4864:20::82c]:47010) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kUsbQ-0008Ij-Dk for guix-devel@gnu.org; Tue, 20 Oct 2020 10:27:05 -0400 Received: by mail-qt1-x82c.google.com with SMTP id r8so1295237qtp.13 for ; Tue, 20 Oct 2020 07:27:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=OzuTuiB66mTggwzBLwToNnUTuQpNiKxZV1UdWNvdlLY=; b=Hx3irEQ9xvrX1sWgHI3/60/sT/PVYRAkqa1ly5ioInYgqcb+Ap8ABBtMNhUiyPzJ4p CSHcjkPUES1F/Fch7myz4WacmFFluhg8kwze/7PpfIJC8rt5wyAHj98ulcjylxLjmNw9 63A+M9v64h5IwFKs9Fxcf5ZqOtArF8eqyaQWY436pYebYrWaC0cUDB2kB7V0bFC7fOI8 Av7EPaTi9pkEltbb9EASvLQ+gSW3IfH1oo3AuKLuZ1/ZAENAqvPZ7P5nM8b/aWQU91g3 SZWrN4mLuHj7ChQJixRr6I+9woOiUUlBciQy2AnqbM3xqd9FRwGbd6KxgamucnlUHoFQ fOZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=OzuTuiB66mTggwzBLwToNnUTuQpNiKxZV1UdWNvdlLY=; b=H/GNrpE5zpzgJXiU2ZABDeLqVGPjduxNPsyDx+zTSaU6JDlb8p8jYrPDmIDccnNJVK mW277wQDCzx1hhWFjRV6f1/QDOzF8VBNcZAH2Grx4QYTRfwAC7Q7ZCYtdMfA2Lt5tbyI zodYLIggIhBP9ieQQkzQIdvKobWJLkKuer9tmi40c+vcJ7qFjAVqJ9JGERaFwmVeM1mK RNJnrTz4Co9iMhCWQ8fcpiwIjY/MpSsxqvBpflBheEd1G1/EneKIluD/StJDjFndT7Eu nXB/LNK/S+pDNgfIrR2gQl30ZZJM1hHh6rBEbeRGFvZAtyonZWrRP9K4bvBlLBCt1yfO n1qg== X-Gm-Message-State: AOAM533GBpQv3EnKGJR/lnjgfCrbHfYMOkxBx6INdnieYB2vcmpQMBqf pNd7LYiCN2r5kd7MYSV1eaVSWdw+dQWz2DXcB5o= X-Google-Smtp-Source: ABdhPJxZy6xGOs7yuPaBNVbgACUYNJdKD4Vbgw12hpIEETBdBp5yQXPE26XtTrhMez1CQs9KlzKJu35NceOFKq0DIe8= X-Received: by 2002:aed:3b2a:: with SMTP id p39mr2517433qte.211.1603204023407; Tue, 20 Oct 2020 07:27:03 -0700 (PDT) MIME-Version: 1.0 References: <875z7a78ww.fsf@gnu.org> <20201020103244.GB6805@jurong> <871rhtw3tq.fsf@elephly.net> <87k0vl833u.fsf@nckx> <87eelt81lf.fsf@nckx> In-Reply-To: <87eelt81lf.fsf@nckx> From: zimoun Date: Tue, 20 Oct 2020 16:26:52 +0200 Message-ID: Subject: Re: Using #true and #false everywhere? To: Tobias Geerinckx-Rice Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::82c; envelope-from=zimon.toutoune@gmail.com; helo=mail-qt1-x82c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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 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 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=gmail.com header.s=20161025 header.b=Hx3irEQ9; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 1.09 X-TUID: rJRLTlRv3XtS On Tue, 20 Oct 2020 at 15:32, Tobias Geerinckx-Rice wrote: > zimoun =E5=86=99=E9=81=93=EF=BC=9A > > Maybe it is on my part but it returns #t and not #true. So > > somehow > > you need to know that #t is also #true or fix the REPL to return > > #true > > and not #t. > > Right. Making e.g. define-record-type =E2=80=98return #true=E2=80=99 wou= ld not > change what's actually returned under the hood. It is what I have tried to express [1]: I am not convinced that replacing in the Guix source by #true or #false instead of #t or #f really simplifies and helps the newcomer. Because all the internals use #t or #f. For example, there are often #t or #f in Backtrace messages (random example [2]). REPL is another example. Somehow, you have to know what #t and #f means, even if you are a newcomer. The only remaining argument IMHO in favor of the change is cosmetic (not newcomer friendly): it is more pleasant to read #false here and there in the source code. Well, I do not have a strong opinion, I am still doubtful. > (Thank goodness! That would be fun :-) Maybe, but it is not a simple change, from what I understand. :-) All the best, simon 1: 2: ps: my last bikeshed message on this topic. :-)