From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id gJnsJrnt3GWjYQAAqHPOHw:P1 (envelope-from ) for ; Mon, 26 Feb 2024 20:59:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id gJnsJrnt3GWjYQAAqHPOHw (envelope-from ) for ; Mon, 26 Feb 2024 20:59:53 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=lcEDEEDR; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708977593; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=U8mOnfMIYR4BoGFDu93I44rNzBsvngxDnIiPrt+zHbk=; b=En50o1axjqk2ZUCmTAUCtNqnRddROZdQhu9WbrTlAFajuMfaD4JOxpF0JjtpVLVVPZ3nb0 kso9GP5xGEC2crrTpW5NNyOFGFWGcZukB+0ZtGJC7vRSLQ+VJGNIqg6PZAJOJy8uEqke8m yRzg/Oy92PnOW43DOQQLuz74I0FNVWS3ck3xRS3j1vTVtrIB4vED10gUUL8YVPydDRjJ7Q Mff4FnG8hZFmNSymdd6dGoq6sBd6jYKxdZ5odZLOIvmmg2r92UlFe9rGxWtbX0w//CY6vB 5rK8mRSP/OIHG16AaDLsCyp45gkfB8iySU+86CXaFTlg8qYBSYAc/9BtsbkE7A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=lcEDEEDR; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708977593; a=rsa-sha256; cv=none; b=Cil1X6nfq91XKxfWk38Mh44Lvpabzo28TjPBB168BD/ckwmDztsYqn03mzsT5yI162ZV6V aVZm38uD8foL8DnEHKtRM/QzfzWUixLGCfwJ1bw6uEqm5EhZJXsipTLS/aBKYtJ9jIFJ9K DVVECUGiKq4YRmI+SDm8iN13o5LNKvugdar/ygheYhV7Gllx5ELsBCk2VQWzrjSt/Cp/7s IEx2rhNYwAj1uGTtu0MUoJTI70MnyP1H510RRGh1vtwVaSPfzqhv0UmnUK5FseISU2ukoC w6ShqTRR+QMJKUEzFg3DK9IjLQ/Q3E0xBSv4aXbmrbblWjmr/FJmWOPbXs5OgQ== 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 7C5D75B5F1 for ; Mon, 26 Feb 2024 20:59:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1reh7N-0001fO-EN; Mon, 26 Feb 2024 14:58:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1reh7K-0001f3-WA for guix-devel@gnu.org; Mon, 26 Feb 2024 14:58:27 -0500 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1reh7J-0004yI-Jx for guix-devel@gnu.org; Mon, 26 Feb 2024 14:58:26 -0500 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2d27184197cso42077081fa.1 for ; Mon, 26 Feb 2024 11:58:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708977503; x=1709582303; darn=gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=U8mOnfMIYR4BoGFDu93I44rNzBsvngxDnIiPrt+zHbk=; b=lcEDEEDRIQNUQPql8vlP5HMNPEVJJSCvdeiXKMJXs+bwK7irRiRbYDwfSrqpH+h4wc Gun3ScppebS3Znq7gZf2QBTK71w9xTu7UcqHCPav7Tw3ue8gDbeXCC8MQ33err0+KGQY F2cN/naDYxdLxq5UBXaysLkcpusdnCLt5+amC6zG3r/ElqDqmkdff2HdxJIjstH3kdWn W1MdsxJiFUFgpZpsscIZXfSHK/5ewqIG8IXAkE4dl/o/kEt635Nyk/Rf7xNU/7XOA6TE Cd1U5Wr9shRv+yyFmkSwDzb2lE5fQanHDTVLpz0W+G10HUBqB1pWEUBhOBwYM/xtMc69 lBHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708977503; x=1709582303; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=U8mOnfMIYR4BoGFDu93I44rNzBsvngxDnIiPrt+zHbk=; b=HerR5FT1qXDABjAIz7eDeeG3Ecbl+1SpAcmj4CCud1+plLc2dww702A1UZS30Pf0fF 0E5goww+ZOguC5FVwRQpoH/kSY60uQf4dmDodGZojAC6WhQJ5d2m/052wX5ApDL8Dtug PWLXM+GJpTOcfxqkPNXYs6bgfXY05Fh378Sjp82tsYm2OI0a/MlnEdxTQZ8Uak3DJY/R avzevWCH91nyf9XDUB9AZzAHabmo19pp9JBIZViBHLcAPy+dp9Fgn0vkrEcdQXwwRWrg yoqSyPyc1/t+5jbVasCHohM9Z1qz202hV1d78kujBxAH71nOHw3u3MHy6K3p8PhMTRB9 gVJQ== X-Forwarded-Encrypted: i=1; AJvYcCV4Ys8hCroIMbRkneBykqZUFWje5dam4DXLwKRVPZCF4UgA/VKDOMey26lqDTOz/ULnQHnlp6u1l+ZcAUKH8l7VfjI= X-Gm-Message-State: AOJu0YxcpTq+yOA5gZ24upbNjV0Y9/mbEx5qZ8xA4LMV5aG41GqwpxPi n1T1goKkZtqLEZ+DOBb0HHHSV5nv1Xj3aD+i3hl2RXfb4fV4iudK9XxvounA X-Google-Smtp-Source: AGHT+IGgisUUVnYC7LKZlgFLCpp3jsJHE1Z4Kcj1sVnB8X12yTSp2OWLBC/Cpr8QRGCJqc3nRMaE5g== X-Received: by 2002:a2e:a783:0:b0:2d2:50ba:e5b6 with SMTP id c3-20020a2ea783000000b002d250bae5b6mr5870140ljf.10.1708977503307; Mon, 26 Feb 2024 11:58:23 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id et11-20020a056402378b00b0055fe5a611f2sm70574edb.20.2024.02.26.11.58.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 11:58:22 -0800 (PST) Message-ID: Subject: Re: A friendlier API for operating-system declarations From: Liliana Marie Prikler To: antlers , guix-devel@gnu.org Date: Mon, 26 Feb 2024 20:58:22 +0100 In-Reply-To: <4c6c7b82-08e2-45e6-b0e9-e4b9f5d155d6@app.fastmail.com> References: <1a7168a5-5207-4dfa-ac12-b3fed841580b@app.fastmail.com> <748f644460181e086c694333a1faa2c730452a99.camel@gmail.com> <1ab54235-ecfe-43df-afce-e45ca6aba1c1@app.fastmail.com> <4c6c7b82-08e2-45e6-b0e9-e4b9f5d155d6@app.fastmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=liliana.prikler@gmail.com; helo=mail-lj1-x236.google.com 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.95 X-Spam-Score: -6.95 X-Migadu-Queue-Id: 7C5D75B5F1 X-Migadu-Scanner: mx11.migadu.com X-TUID: GGOPjq9YGCHO Am Sonntag, dem 25.02.2024 um 13:27 -0800 schrieb antlers: > Thanks for the detailed response c: >=20 > The blocker is that AFAIK we can't tell if a record-field was defined > as thunk-ed or delay-ed outside of the expansion of the > `define-record-type*' form that defines it, nor programatically > access it's getter/setter (the pair `(guix records)` defines, which > accounts for eg. thunk-ing, and is distinct from the underlying pair > returned by eg. `record-accessor'). You might want to have a look at match-record or even define your modify-record in terms of it. IIUC it ought to handle exactly the problem you're talking about while also making it slightly easier for you to structure your updating code. Cheers