From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id m/ayKuoGj1+edgAA0tVLHw (envelope-from ) for ; Tue, 20 Oct 2020 15:48:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4Hf1JeoGj18dPgAA1q6Kng (envelope-from ) for ; Tue, 20 Oct 2020 15:48:58 +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 47CF69400C9 for ; Tue, 20 Oct 2020 15:48:58 +0000 (UTC) Received: from localhost ([::1]:43580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUtsf-00072i-5v for larch@yhetil.org; Tue, 20 Oct 2020 11:48:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUtsE-00072S-OW for guix-devel@gnu.org; Tue, 20 Oct 2020 11:48:30 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:39644) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kUtsC-0002dm-Vk for guix-devel@gnu.org; Tue, 20 Oct 2020 11:48:30 -0400 Received: by mail-wm1-x330.google.com with SMTP id d3so2465015wma.4 for ; Tue, 20 Oct 2020 08:48:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=+/TpVJV6+vp9Yumrz+7QxKaJ1YDoyTKerokqaUgm/z8=; b=eXv73W6RtcAYUg3QDXrEuHxDWwHPeTZ/IT+WoRj8aZRWmGIiLMNcKwpR0CR9I6S0LE ANs7TVOBLXEASHOmDLJV2fBh/7hGM4QDKCBU/O0OIyeHU/MXZSifLCMGjWCESMGqLm7M TNAnoudFoRaEPA9Jf6RBcXWjiWjKkksTdHLj0k0A2xlXYRDtDQ7a5jWUlaUOR5zmdi1O sy1wyhFME0IrXToc3mMEyd0PCkJyLTn3nsXtHDJPLjXIC+jyOLheAburCn3LkOaPiJ6r CPHmnBYuzJkDuLoAHGlmwqAULqA8deJA323wjBzdC9u0Ns+Ojbo2i3ykx8wTPl4fXzBz nMRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=+/TpVJV6+vp9Yumrz+7QxKaJ1YDoyTKerokqaUgm/z8=; b=UCEnBL8LRaDaf4yx8c/vlavAyJlXkyFy7mFxkBHQfia9tyY4cfMMXLbHCZPvmff3lj k0ucM31eWvkZhZylHBGbbZ9sslDN5/VmZclEjbTeeA6wQ8KbCC/7m7AoJK89Fe/iIb/B ol1EtBWpopb+5cI8CBOyL+LRaD+1DOY42obERQLww2qmZWX9rEnaAQTL3BE0EqiPkTRG S39NxdB6BfQRNIAUbZSo4Ff62AzuneSss8uUdKYttwlzzdPIKSdgKxIY9s31Y3AIfAVG IhMY3k6L6fNsyb0gqFcSYZACYkoskVLXXsyXN7MjcshnVGzaabBfTHLxfd7dOoLs1c4z dZZw== X-Gm-Message-State: AOAM5310ilhoENTK0x+WSebguYDJRHb4Hwl3ZeM+pe4fHsyCCWVDLIIo MTTAOeVkvP1DjpsCEByT/bqo/sGJd+A= X-Google-Smtp-Source: ABdhPJz5PX0URThetkDWLXu2lrgm1AeeK+MMZ7PXpDttukzlQME+cq1nK7EcGZZhKTNOPNjzSGSDQg== X-Received: by 2002:a1c:3d7:: with SMTP id 206mr3728712wmd.155.1603208906697; Tue, 20 Oct 2020 08:48:26 -0700 (PDT) Received: from ?IPv6:2a02:908:c71:ba60:9f5:12ca:aee5:737b? ([2a02:908:c71:ba60:9f5:12ca:aee5:737b]) by smtp.gmail.com with ESMTPSA id b25sm3185758wmj.21.2020.10.20.08.48.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Oct 2020 08:48:26 -0700 (PDT) Subject: Re: Using #true and #false everywhere? To: zimoun , Tobias Geerinckx-Rice References: <875z7a78ww.fsf@gnu.org> <20201020103244.GB6805@jurong> <871rhtw3tq.fsf@elephly.net> <87k0vl833u.fsf@nckx> <87eelt81lf.fsf@nckx> From: Taylan Kammer Message-ID: <045d6005-fdc4-f9f5-6c04-a07c5b394fcc@gmail.com> Date: Tue, 20 Oct 2020 17:48:23 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=taylan.kammer@gmail.com; helo=mail-wm1-x330.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, NICE_REPLY_A=-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=pass header.d=gmail.com header.s=20161025 header.b=eXv73W6R; dmarc=pass (policy=none) header.from=gmail.com; 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: -0.71 X-TUID: oRg1ozfEy9Jt On 20.10.2020 16:26, zimoun wrote: > On Tue, 20 Oct 2020 at 15:32, Tobias Geerinckx-Rice wrote: >> zimoun 写道: >>> 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 ‘return #true’ would 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. Shouldn't it suffice to just change 'write'? I think that should change 99.9% of all places where Guile outputs "#f" or "#t" for false/true. - Taylan