From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6FdDMTcdhGBifwEAgWs5BA (envelope-from ) for ; Sat, 24 Apr 2021 15:29:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sFrmLDcdhGAdVgAA1q6Kng (envelope-from ) for ; Sat, 24 Apr 2021 13:29:27 +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 792032AEC0 for ; Sat, 24 Apr 2021 15:29:27 +0200 (CEST) Received: from localhost ([::1]:34574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laILe-0006x9-L4 for larch@yhetil.org; Sat, 24 Apr 2021 09:29:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laILV-0006wm-AN for guix-devel@gnu.org; Sat, 24 Apr 2021 09:29:17 -0400 Received: from mail-40130.protonmail.ch ([185.70.40.130]:19513) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laILR-0007Uc-Ui for guix-devel@gnu.org; Sat, 24 Apr 2021 09:29:16 -0400 Date: Sat, 24 Apr 2021 13:29:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1619270951; bh=2wxMH8NHYqn6HaM+aRoEiExOhLkGXK7MNh71RJbyvTU=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=qfr8rehBKSJ1dpZyfobZXWEe94CLVi4/DYwHLz0g+qHLi9dKNNuJMhjKf3ONs4MPE L9tDOqjk+DsKDz0WKFIkh53QbKYrk9PSpOHuVjkzYXaT3OIYxWSJ4jjLi+tWZZNNra KYdPraUr2/XPygu8yjxxS3K9+vyfGsp8oxAhrUkI= To: Leo Prikler From: Luis Felipe Cc: guix-devel Subject: Re: What's the meaning of the percent sign in variable names Message-ID: In-Reply-To: <0567efc70b7282ff6f40173cba74a61ce2647644.camel@student.tugraz.at> References: <56kdRcoBgRuaTJ3WDZuJafflQQ4gld466rsxEpaHBkAv63kjjShKEEaQyL3n01WgUFyuUHpqLtW9VuZyeV6H4_C6NdB5nXd7BGxYJZ1UbXg=@protonmail.com> <0567efc70b7282ff6f40173cba74a61ce2647644.camel@student.tugraz.at> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.130; envelope-from=luis.felipe.la@protonmail.com; helo=mail-40130.protonmail.ch X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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: , Reply-To: Luis Felipe Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619270967; h=from:from:sender:sender:reply-to: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=2wxMH8NHYqn6HaM+aRoEiExOhLkGXK7MNh71RJbyvTU=; b=gmqF8556B/An2yG35Ij7/6unbqMUUsO979ENWWMcFhzLP0qVuglqrgz2YUduLnvCv/VdmE MR7aQriZqlfeQYQnqqe/TR5epVHUUTvpiDPeK4qavkVKkZXDTt2JYJaL3rpk6Y6f/3083b DG8dqV9dVb2qquUjmXTPk6fVld8NCiHY1dvE0ipNbT23sYS/lizFLCHK0L2j6/7kNL2mDA hwG73LNR6n3HiP/YMnB2BOp2CsQWSdjyu+ftWVTiw3hsfB+SeyNSCkMULIus3dZFrNS3qk yC4/QSnKVQtj5Nam5Z+iBkkfsJpROvrGym6sWs0lrjp2Y80eT3pyMxML0UMCYA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619270967; a=rsa-sha256; cv=none; b=O+WOaPxmeNMtmmQw8+u2ofrxKmnBNRyQfwyPzqas40H50JQk3wvTI+k+J3iqlCY7VH5O17 zCMkXqHqovamiKg5zO6H8W4G8Lf/OSY4qTPhjmnw7Sft7CNy+dAni0ngx7UNeA0gh67JfW pNbysD896lKt0Mgjva4+TlrGh8MCMSn4EzAHovY2LkyaScgPaI2BptVkreyhvxIka0nYWs QXqiW9/tpAKyWhvjk2Fx7591xW+1nbPrMFq7QviJnjDV61ODnVz6rwCU5by/fg3FQiA64N TW/Bu2KYmxAWCw7ycZMHIXK1sip6Umrn8zIX90NA871QqDwwveL8wZO0uzocnw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=qfr8rehB; dmarc=pass (policy=quarantine) header.from=protonmail.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-Migadu-Spam-Score: -3.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=qfr8rehB; dmarc=pass (policy=quarantine) header.from=protonmail.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-Migadu-Queue-Id: 792032AEC0 X-Spam-Score: -3.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: PocvMbgr1G3w =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Friday, April 23, 2021 2:49 PM, Leo Prikler wrote: > Am Freitag, den 23.04.2021, 14:22 +0000 schrieb Luis Felipe: > > > Hi, > > Are all these constants (%base-packages, for example)? Is this a Guix > > convention or does it come from Guile? Although looking at Guile's > > Variable index I see many constants in uppercase, and also some > > variables prefixed with the percent sign, while Guix' Programming > > index doesn't seem to list any uppercase names. > > The tendency to prepend variables with % certainly comes from Guile or > more generally Scheme. The upper case constants in Guile likely come > from C, where this convention is more popular and IIUC often concerns > integer constants, that are in some way important for the C side of > things (think of stuff like OPEN_READ). Since that is not a concern > for Guix, a package manager mostly written in Guile Scheme, we can > prefix our constants with a percent sign. Thanks, Leo.