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 AI8+CswgkF85VQAA0tVLHw (envelope-from ) for ; Wed, 21 Oct 2020 11:51:40 +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 SJMABswgkF/3RwAAbx9fmQ (envelope-from ) for ; Wed, 21 Oct 2020 11:51:40 +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 9EEAF94051B for ; Wed, 21 Oct 2020 11:51:39 +0000 (UTC) Received: from localhost ([::1]:43952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVCeY-00065R-DL for larch@yhetil.org; Wed, 21 Oct 2020 07:51:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVCeP-00065G-HB for guix-devel@gnu.org; Wed, 21 Oct 2020 07:51:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46582) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVCeN-00087Y-LH; Wed, 21 Oct 2020 07:51:27 -0400 Received: from 2001-1c02-0b2a-aa00-93bf-7c8c-0fae-b738.cable.dynamic.v6.ziggo.nl ([2001:1c02:b2a:aa00:93bf:7c8c:fae:b738]:35432) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kVCeN-0005Cv-9m; Wed, 21 Oct 2020 07:51:27 -0400 Message-ID: Subject: Re: Using #true and #false everywhere? From: Roel Janssen To: Ludovic =?ISO-8859-1?Q?Court=E8s?= , Andreas Enge Date: Wed, 21 Oct 2020 13:51:23 +0200 In-Reply-To: <87pn5b7vcj.fsf@gnu.org> References: <875z7a78ww.fsf@gnu.org> <87a6wm5mv5.fsf@gmail.com> <874kmub8e1.fsf@nckx> <20201020095712.GA6805@jurong> <87pn5b7vcj.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.1 (3.38.1-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=none; dmarc=pass (policy=none) header.from=gnu.org; 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.51 X-TUID: L8R+pp7qTMGL On Wed, 2020-10-21 at 11:59 +0200, Ludovic Courtès wrote: > Hi, > > Andreas Enge skribis: > > > on the bikeshedding front: I find #true and #false confusing, since > > everything I see on the Scheme language seems to use #t and #f. > > What material are you referring to?  SICP & co.? > Sorry to inject in the thread, but here's more material that uses #t and #f: $ guile GNU Guile 3.0.4 Copyright (C) 1995-2020 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> (= 1 1) $1 = #t scheme@(guile-user)> (= 1 2) $2 = #f I don't remember ever being confused about #t and #f, so perhaps my opinion doesn't matter much in this, but I'd prefer #t and #f because it's already widespread use in Scheme. (And with widespread I mean: Pretty much all Scheme code I read). I do remember being confused about the double parenthesis on "let" ;). Kind regards, Roel Janssen