From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4OBkG95WF2OqrQAAbAwnHQ (envelope-from ) for ; Tue, 06 Sep 2022 16:19:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kAVoG95WF2PkBQEA9RJhRA (envelope-from ) for ; Tue, 06 Sep 2022 16:19:10 +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 281DA44F35 for ; Tue, 6 Sep 2022 16:19:10 +0200 (CEST) Received: from localhost ([::1]:37850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVZPx-00058M-4I for larch@yhetil.org; Tue, 06 Sep 2022 10:19:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVYbX-0001n2-Dg for guix-patches@gnu.org; Tue, 06 Sep 2022 09:27:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33212) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVYbX-0008FA-4d for guix-patches@gnu.org; Tue, 06 Sep 2022 09:27:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVYbX-0000BA-1A for guix-patches@gnu.org; Tue, 06 Sep 2022 09:27:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57621] [PATCH 2/2] gnu: Add cl-positional-lambda. 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.1662470798618 (code B ref 57621); Tue, 06 Sep 2022 13:27:02 +0000 Received: (at 57621) by debbugs.gnu.org; 6 Sep 2022 13:26:38 +0000 Received: from localhost ([127.0.0.1]:50137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVYb7-00009p-Ki 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 1oVYat-00008k-Fu for 57621@debbugs.gnu.org; Tue, 06 Sep 2022 09:26:24 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id f787a984 for <57621@debbugs.gnu.org>; Tue, 6 Sep 2022 15:26:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=20190914; bh=OC3eK/a+L+Y/Z/nQ3lIoe rsGGmvJjZW5yAkEyPSfDqU=; b=JG/caVzwF0NdR2MxLtP6CR62ofm0ClZrXqyD+ w2Jlnpo5BKwndCwCZBQU3NPACH0wib/+I6wra0n0eq+NgSOrfXGsZd+WmnI/+ASr ed8MZrMIkTjtSdIv3QO7FEWq/KlKwr30WhghZGjYCppg4ed8OuFB67Ltge/+OWzA B9t1Hr2gqQgURVrw23Gw6icLc3JxbrxpFPqlabesMspactYg/nMwod06b1QzvYMe HUCOD8HlncFXVgvVa+0OHWrNYzQmUYpjp3aYiba9iL7VSN8/QjIPyrL9GLhLmXqY ZCBTGTDEtRQaLPIxOAUy2b+Qf/kV3yQBgO2/cItkbPbSwxT7w== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 08d97c8b for <57621@debbugs.gnu.org>; Tue, 6 Sep 2022 15:26:16 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 2dca4bd0 for <57621@debbugs.gnu.org>; Tue, 6 Sep 2022 15:26:15 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 93213cb6 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 6 Sep 2022 15:26:10 +0200 (CEST) Date: Tue, 6 Sep 2022 08:25:53 -0500 Message-Id: <20220906132553.9993-2-jgart@dismail.de> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220906132553.9993-1-jgart@dismail.de> References: <20220906132553.9993-1-jgart@dismail.de> 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=1662473950; 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=C/s7Xq0e7V6EP8xOhL+S1CAH+YeJFe7/3pfo1ouRPgY=; b=Njt/mPrEnBMkF8/rEAvxQAUu5rUq4rgPETYyIt5GcdwmQF1uRSpELFF8otFOjEs+nJ+R4T zgH5nayrDumeU8q7ID1f/l7EHzaJaE8zgyLgR1JqnUlwOWSCccR+fGF+EjKlcZVlgC9Dbx iBd7KGNA5gBx0klvipY7GpBdhalT1flFRvVBaoXEhC3EHrKNCw26DeKtkwH9hSFoBWlSal 2+x/SICeEwMDhQGl3Dm4zIKOMZuM9eQ6be3+thzEcB2H9opEnTGfWzgPNkzSNAp28NA8/Y FxY09/T4MGotq8Zvjtxm1mbPcu0zESOSqaPePAZ3wdN7Ip68VcD3jltRmvKkVg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662473950; a=rsa-sha256; cv=none; b=X5VQ1eMt2Gb5cvsEKk9wSa9GenYEqLbfRv2GMxNp53A4K2yQWWvtPE188dwnp3onhRBVRa Glm8XQ9Trk5sSGMA+MCjxpgUR8qBtmfj87sREl1STLeKJ7heysYDN7XPR1SnyjHlmPVp9c 3jyax2E1ojHc0IUbL2i8dqY4EW8ePhsYACgKkOZds7nQsve1/l7OWhTfOWShUgHyysrXuq IOuyQFdWMi1iLt1SQTl5U2wP/LrIBHo6zA/7UmV1A+JfFUVACXJ7tXxY4IDM42Sm/wa+qE aE2PiVB620rZWETGzHZSYDiXLvjTMg8r4k/xx3JBQQKtLoH41fWL9xjb1uBlzQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b="JG/caVzw"; 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.87 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b="JG/caVzw"; 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: 281DA44F35 X-Spam-Score: -1.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: z8w7oADwVE/v * gnu/packages/lisp-xyz.scm (cl-positional-lambda): New variable. --- gnu/packages/lisp-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 597df27384..7b9ef7bf49 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -182,6 +182,45 @@ (define-public cl-map-bind (define-public ecl-cl-map-bind (sbcl-package->ecl-package sbcl-map-bind)) +(define-public sbcl-positional-lambda + (let ((commit "a43a7bb4ef6faa277e6a7440ec9839711c4b9d28") + (revision "0")) + (package + (name "sbcl-positional-lambda") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Hexstream/positional-lambda") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1l27mw5ciqz7rnjq1lwslgk220i8iqcr39rs8b7hxkp1yqmah5zq")))) + (build-system asdf-build-system/sbcl) + (arguments + `(#:asd-systems '("positional-lambda" "positional-lambda_tests"))) + (native-inputs + (list sbcl-parachute)) + (inputs + (list sbcl-map-bind)) + (home-page "https://www.hexstreamsoft.com/libraries/positional-lambda/") + (synopsis "Macro favouring positional references over naming") + (description +"This package provides a concise, intuitive and flexible macro for trivial +lambdas that eschews explicit naming of parameter variables in favor of +positional references, with support for a used or ignored &rest parameter +and automatic declaration of ignored parameters when logical @code{gaps} +are left in the positional references. Further convenience features +are provided.") + (license license:unlicense)))) + +(define-public cl-positional-lambda + (sbcl-package->cl-source-package sbcl-positional-lambda)) + +(define-public ecl-cl-positional-lambda + (sbcl-package->ecl-package sbcl-positional-lambda)) + (define-public sbcl-bodge-utilities (let ((commit "6304bac4abe06d53579e2c0fc4437d14ff077d9f") (revision "1")) -- 2.37.2