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 4JXHF/zvm18SOAAA0tVLHw (envelope-from ) for ; Fri, 30 Oct 2020 10:50:36 +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 wEuLE/zvm19FeAAAbx9fmQ (envelope-from ) for ; Fri, 30 Oct 2020 10:50:36 +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 002679403D5 for ; Fri, 30 Oct 2020 10:50:35 +0000 (UTC) Received: from localhost ([::1]:48938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYRzO-0007rQ-Px for larch@yhetil.org; Fri, 30 Oct 2020 06:50:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYRyt-0007oR-Su for guix-devel@gnu.org; Fri, 30 Oct 2020 06:50:03 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:57723) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYRyp-00013G-KC for guix-devel@gnu.org; Fri, 30 Oct 2020 06:50:02 -0400 Received: from nijino.local (217-149-162-161.nat.highway.telekom.at [217.149.162.161]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4CMzbK4Ptwz1LZ3L; Fri, 30 Oct 2020 11:49:49 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4CMzbK4Ptwz1LZ3L DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1604054989; bh=f4KUnVsO4/7ZljWPCcS13ArBS4NFbDyp10zxHvUCe/I=; h=Subject:From:To:Cc:Date:In-Reply-To:From; b=EFWod+f9TRr66ST387JhuvU9GCxPppTl2waJk/kgV2R7Cgtk7VnqUDYOiCMZE7PiT UcU0uAs1c5WLb7WqyJy0ABrofq5GQ4XTGBq8MVy1grr/pa/WIsA5b9jvLQ8V/aTEwp oi5DDdp53OkVGiyHUllKFyYor03WahYFLurZE8rk= Message-ID: <1f780c067b3dec2f320e056e99b93fbd076b18ae.camel@student.tugraz.at> Subject: Re: A better way to access records. From: Leo Prikler To: mail@brendan.scot Date: Fri, 30 Oct 2020 11:49:48 +0100 In-Reply-To: 487cea17-061a-2cc9-6b3e-7b688114d158@brendan.scot Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 Received-SPF: pass client-ip=129.27.2.202; envelope-from=leo.prikler@student.tugraz.at; helo=mailrelay.tugraz.at X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/30 06:49:51 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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@gnu.org 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=tugraz.at header.s=mailrelay header.b=EFWod+f9; dmarc=pass (policy=none) header.from=student.tugraz.at; 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.71 X-TUID: oJjyPUJ/rbbd Well, the "functional" way of accessing them all in one go would be to (map (cute <> foo) (list package-name package-version package-...)) But I assume you want syntax like (let-field record field exp*) (let-fields record (field1 field2...) exp*) analogous to (srfi srfi-9 gnu) set-field and set-fields, am I right? Regards, Leo