From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2NdtFG9RF2P2RgAAbAwnHQ (envelope-from ) for ; Tue, 06 Sep 2022 15:55:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kNd1E29RF2MYUAAAG6o9tA (envelope-from ) for ; Tue, 06 Sep 2022 15:55:59 +0200 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 1FA54241EA for ; Tue, 6 Sep 2022 15:55:59 +0200 (CEST) Received: from localhost ([::1]:59234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVZ3W-00081O-3z for larch@yhetil.org; Tue, 06 Sep 2022 09:55:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVYbX-0001mQ-1j for guix-patches@gnu.org; Tue, 06 Sep 2022 09:27:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33211) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVYbW-0008F4-PG for guix-patches@gnu.org; Tue, 06 Sep 2022 09:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVYbW-0000B2-LE for guix-patches@gnu.org; Tue, 06 Sep 2022 09:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57621] [PATCH 1/2] gnu: Add cl-map-bind. References: <20220906082329.GB9876@dismail.de> In-Reply-To: <20220906082329.GB9876@dismail.de> Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 06 Sep 2022 13:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57621 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57621@debbugs.gnu.org Cc: jgart Received: via spool by 57621-submit@debbugs.gnu.org id=B57621.1662470797605 (code B ref 57621); Tue, 06 Sep 2022 13:27:02 +0000 Received: (at 57621) by debbugs.gnu.org; 6 Sep 2022 13:26:37 +0000 Received: from localhost ([127.0.0.1]:50133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVYb6-00009c-Vh for submit@debbugs.gnu.org; Tue, 06 Sep 2022 09:26:37 -0400 Received: from mx1.dismail.de ([78.46.223.134]:6794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVYas-00008k-GZ for 57621@debbugs.gnu.org; Tue, 06 Sep 2022 09:26:23 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id e94323f9 for <57621@debbugs.gnu.org>; Tue, 6 Sep 2022 15:26:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=nywaUj8BE3UTl+W8fITZCZ8hLOa8yNIfBhaXW+w7PWs=; b= N7pMj0IUfmLF+KiCPWfuR4nR5VzE3mq4tBjWvm2vZcEvq0LcBuSGkpQCaIcqniIn emV4qWL/yKLTfBHl7SU/YJzDouJtOUNlteFYS+zxbt9qrmPpkvb+EfEPgPMUsz94 /SnzjwsAvCsqXXNtc3TzjOuhN9NEd4aNXCXeGglhPqQ9Pdkcva0csjeMX/mG/C6c 7u1C2PgWyeEXMDvD5TM4kS3zYKVm33Q47Cbo2jt4NmjSO70wImRX1An7zuxw8Cg8 xluVzOjM8FoVXts36NX7wWivq7FJ8TPTYFl5NIScK00YZ9KhVjNBUxyeuSSudhUM YxhjT5KqodlqSFiG0BVctg== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 45b2c3af for <57621@debbugs.gnu.org>; Tue, 6 Sep 2022 15:26:15 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id de750e3a for <57621@debbugs.gnu.org>; Tue, 6 Sep 2022 15:26:15 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id b8e031da (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 6 Sep 2022 15:26:09 +0200 (CEST) Date: Tue, 6 Sep 2022 08:25:52 -0500 Message-Id: <20220906132553.9993-1-jgart@dismail.de> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662472559; 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-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=P2IH21oPPwlJe+oB90KRw8DkweY4F3UNPc1yxRkrnQM=; b=PqrSwQwHNajBsZnBFy4EYIIFzXCNSg5Bcdf6zG4qLvUYTgwoEs4drU6CZ+pEEeVQiPZ3Zv Mnddr6D7V9xdUr3IS5j1Lbyd4x+q7R+aUfhOTcScxM2D5SnyJD2zwDcvtjxkCRd5vgwUC9 Pk3Q9Bq660dEwHIBwCVsN+/iYud4vc2f/VFULnzJUZymr3L3D0gs3lJ5gF/B1FRc5RsVaD Mn8iuwtIjc7BPviq1vvIFmPlFyFXAbYo+paydU9My0W4ULG5nrC/ppCGEHM06uh9tbp/As yAz2Ub8ezsCpGiK5kgrliAa7cEQFIPETPAfnawByz9W+lb+WqEEWNjdAZJDx8A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662472559; a=rsa-sha256; cv=none; b=RIRejhl2GEHOhusIyfI68lR4Gkbu0HxVVctuSMEHXrJy02E8xobTqxka2asGBPWZB0TPln KzfbHIVYmf2x0QulAixLVVCUVJqFS9v8jiJ1R816IoK9gamhXrbh3iDWaJpNFwx3A33dfV WmtAwtmaJxQcoUokAaTSlaoJA5uHFxwSTXcAUDGbwV+K2rGiVW7oo9ttfTuCV75Zk9/dFx 5XXcu7LKs1oT0Pu0OZxgveKf65WyVTyIpSjMHRQtw3aZJbpAdKSF4cyWtPocK6lrw/5RD9 QegzDYKhodI3Xe8jS3zjEU1QpjrPm7F5G1tkYNkhJZE28oQbb2rghMtSTUjILQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=N7pMj0IU; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.37 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=N7pMj0IU; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1FA54241EA X-Spam-Score: -1.37 X-Migadu-Scanner: scn1.migadu.com X-TUID: c84+k2gyOzaV * gnu/packages/lisp-xyz.scm (cl-map-bind): New variable. --- gnu/packages/lisp-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 8372a154b6..597df27384 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -148,6 +148,40 @@ (define-public cl-alexandria (define-public ecl-alexandria (sbcl-package->ecl-package sbcl-alexandria)) +(define-public sbcl-map-bind + (let ((commit "532d55d93540c632e22b2cd264b5daa5f9d3d900") + (revision "0")) + (package + (name "sbcl-map-bind") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Hexstream/map-bind") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0hfy65xyqc4zqfncn11pp3hjjkdz7m91cynnv91s3lgcl3kffva0")))) + (build-system asdf-build-system/sbcl) + (arguments + `(#:asd-systems '("map-bind" "map-bind_tests"))) + (native-inputs + (list sbcl-parachute)) + (home-page "https://www.hexstreamsoft.com/libraries/map-bind/") + (synopsis "Macro favouring positional references over naming") + (description +"@code{MAP-BIND} is a macro that allows visual grouping of variables with +their corresponding values in calls to mapping operators when using an +inline @code{LAMBDA}.") + (license license:unlicense)))) + +(define-public cl-map-bind + (sbcl-package->cl-source-package sbcl-map-bind)) + +(define-public ecl-cl-map-bind + (sbcl-package->ecl-package sbcl-map-bind)) + (define-public sbcl-bodge-utilities (let ((commit "6304bac4abe06d53579e2c0fc4437d14ff077d9f") (revision "1")) -- 2.37.2