From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gF0tCd48OmCwKwAA0tVLHw (envelope-from ) for ; Sat, 27 Feb 2021 12:36:46 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wFsMBd48OmCdfwAA1q6Kng (envelope-from ) for ; Sat, 27 Feb 2021 12:36:46 +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 aspmx2.migadu.com (Postfix) with ESMTPS id CAD7C10675 for ; Sat, 27 Feb 2021 13:36:45 +0100 (CET) Received: from localhost ([::1]:45140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFypw-0003wn-Vn for larch@yhetil.org; Sat, 27 Feb 2021 07:36:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFyph-0003wT-Kf for guix-devel@gnu.org; Sat, 27 Feb 2021 07:36:29 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:43138) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFype-00060C-Cr for guix-devel@gnu.org; Sat, 27 Feb 2021 07:36:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=bm6Bsf+QC6SrnlFhSF5IN3XUkvVgUHtoyp/8xXtfWH4=; b=cFXlL54uO5FW7BlbTeuzhHip3 dVZJqs3DILCDbKOIpSSxr7u4OBJo9lEGSgTcGmlvYErV7G9ZX22xAgs24y2Hw1CA4d7ebJ/DovHip TV4oEwoKbxy7VtvwWp2Sk+DhgJ9OISNxC0krHeoEAtFWoIKtAvZF3bfAwStxAPnHh+1hw9ykTLr33 o4UnHJSg789BkUP94G9VsHyoD86n7eAk4mqNGctPcd9y7I2it0dn+Z/SmyG4fzSw4AefcL0olx/Lv t1b3lbeogrDxyHiYd5FDK3oZXHCrRkjNgH67kO/8BYWD4icaCcAh/ck3TlaJjyE0Zng016nouSxk/ N3j6w/uMg==; Received: from [192.168.2.1] (helo=steel) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lFyjo-001NAW-Aa; Sat, 27 Feb 2021 18:00:24 +0530 From: Arun Isaac To: Magali Lemes Subject: Re: [Outreachy] Use of impure functional programming and use of vlists In-Reply-To: References: Date: Sat, 27 Feb 2021 18:06:11 +0530 Message-ID: <87ft1hbsck.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net 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, 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1614429405; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=bm6Bsf+QC6SrnlFhSF5IN3XUkvVgUHtoyp/8xXtfWH4=; b=CyTCBrixYjPZOD8eztDCVYQY6l1Rdpmb3KutH97OAFOJ9obx8tJ2eZZ3FoZUNBqXhNWbt2 3UJHrAp4F1DFGyz+EzrpGErWI1d+AgQZswMsDOTPP4pMNwZKou3U76/MmPq1RG15+3l4i0 J+tZqY+RKFEJbLxN+kL4kvk7LpzXR9G70d2mpOjDmKYu1JV1Ntopwb2FxBQCjNhUkq6GtQ 3xZcdunpO6wAzubsNkoNSYmV9uTflZzYpY5IzJGsbQ/pd76rj7z8nTdE+uzBaTtaqZkj7e 4cl5+RQP8+jQoemVGGgivf1I270cXw9Xk6TXK8cZ2RuKAPGSpyG5lIHQIZfx7g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1614429405; a=rsa-sha256; cv=none; b=Fy/avoajLwi4rsqgXnY7ZNqHs8f37oTrRV2+7rINoUJR3wqkT07scbZu8KJ2hhhk2Ahlw8 5NVjnEuEXB3Xrt7K9qWZi+uNl7NHoG/upm8oDxPzPGmigXm1hC3WF3JPSjZwJHqWxnJyof h2r++sP7q5/bOoBVvvbObqnUr5Y50s+aa6SQkquZkpbzEk/sj6NKwv4dExBYLvjFgPmZeW bnYrJcDgw2hUaJIaFYqJ90Gbm9xSsqT43e89XCTBatNanJtSQZ50U71ki7bpFLKznMDpv1 7l5WbDuOUNiZWJ6tMHOi7bTRg2rJ3PO9Le4ibtW1C9lhlQ/sUTepjMyzvzwSDg== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=cFXlL54u; spf=pass (aspmx2.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: 0.63 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=cFXlL54u; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx2.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: CAD7C10675 X-Spam-Score: 0.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: vxHAfatjJzyv --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > 1) having a list and then using for-each it to display the commit=20 > information; > 2) display the list while building it. Would something like list-transduce from srfi-171 be useful? list-transduce lets you avoid building intermediate lists that need to be garbage collected. https://www.gnu.org/software/guile/manual/html_node/SRFI_002d171.html --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFPBAEBCAA5FiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAmA6PLsbHGFydW5pc2Fh Y0BzeXN0ZW1yZWJvb3QubmV0AAoJEC4l7othgCuztnEH/2PXJyh4OXWlPqrf7qtO CN/NSWaaqNmnbTyUVz/1vFdJhLnG7xmUgJsurqrJ0nFDKRpyLpyffzYthtRuLd2H /8aD3r+GJ7sznQNyWbCRgv7Y+gvkEpWjWjr610vmE0WKyTILnRvGp294wTsjYhJk xDUsUYwJmffYfN83MbDTc3y0/FoVkd/bcveiJfYXoOFbNT4yUXqSGg0Llh+/D8Wa VUvBzabAkTeKARiJbrB1kcU1emisfN9m3x1DBkSgTxUsPA+65qm4akwyJoBjCJci CyrP0QvAOT9IkTOj09HLFiLVCSlftSEw8KQQjQAy8prmkzeHnWBYwjARWXrYdD+j htQ= =Ji28 -----END PGP SIGNATURE----- --=-=-=--