From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 sC6mKrL1bGNvPQAAbAwnHQ (envelope-from ) for ; Thu, 10 Nov 2022 13:59:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4DG5KrL1bGNiIQAAauVa8A (envelope-from ) for ; Thu, 10 Nov 2022 13:59:30 +0100 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 640D338EA0 for ; Thu, 10 Nov 2022 13:59:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ot79E-0000m3-Fx; Thu, 10 Nov 2022 07:59:12 -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 1ot797-0000ld-NB for guix-patches@gnu.org; Thu, 10 Nov 2022 07:59:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ot794-0004XV-R1 for guix-patches@gnu.org; Thu, 10 Nov 2022 07:59:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ot794-0001e3-Am for guix-patches@gnu.org; Thu, 10 Nov 2022 07:59:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59170] [PATCH] gnu: Add cl-nsymbols. Resent-From: Artyom Bologov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 10 Nov 2022 12:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59170 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59170@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16680850976268 (code B ref -1); Thu, 10 Nov 2022 12:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Nov 2022 12:58:17 +0000 Received: from localhost ([127.0.0.1]:42235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ot78K-0001d2-R6 for submit@debbugs.gnu.org; Thu, 10 Nov 2022 07:58:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:50890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ot78F-0001cp-Ok for submit@debbugs.gnu.org; Thu, 10 Nov 2022 07:58:15 -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 1ot78F-0000Go-Em for guix-patches@gnu.org; Thu, 10 Nov 2022 07:58:11 -0500 Received: from mta-11-4.privateemail.com ([198.54.127.104]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ot78D-0004F8-IX for guix-patches@gnu.org; Thu, 10 Nov 2022 07:58:11 -0500 Received: from mta-11.privateemail.com (localhost [127.0.0.1]) by mta-11.privateemail.com (Postfix) with ESMTP id 16F9F18000A0 for ; Thu, 10 Nov 2022 07:58:07 -0500 (EST) Received: from paranoidal (unknown [87.241.184.217]) by mta-11.privateemail.com (Postfix) with ESMTPA id C199F18000A5 for ; Thu, 10 Nov 2022 07:58:05 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=aartaka.me; s=default; t=1668085086; bh=Kpsb2P7MzfHspUSMuYfaFauFGdvssnXlMM0lP9uQR6k=; h=From:To:Subject:Date:From; b=AGD360LIt6WPYpfPEQLc3B5VPx8ljphit6MbIqISkxw8BNwI/A266OnxbyohCexL9 HBoq9RwMZ8wJRbUPcr318QsnDBqJyr5jLlkC1F+/dvIa8cXy0gLUkVWRiTboxzs2V4 826x8zk+jtz+Un/jECR3xrGwmmI2dfnAQhQBiOiPQS+0y0UV15Yfz0k3rLMN1lvjFB XtGePTJnVFAoWkJ+44HSpUPlbT5wmkdIPROpchUP5rkjASYStvYaYAe4VMgHH45qL0 gy2C1jPaWz9trPO8HukK7NKYll62YFOI5labuAAK3yDS0fyaYQOhyxJcXHqBft+I6O WPht7wJwIljFQ== User-agent: mu4e 1.8.9; emacs 28.1 From: Artyom Bologov Date: Thu, 10 Nov 2022 16:56:42 +0400 Message-ID: <87zgcz55m8.fsf@aartaka.me> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Virus-Scanned: ClamAV using ClamSMTP Received-SPF: pass client-ip=198.54.127.104; envelope-from=mail@aartaka.me; helo=MTA-11-4.privateemail.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668085170; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=pHmFT7pl6BH6gztwtuiBU4bPVSZfzKymCKqAFUpkSUk=; b=CMlZIzRXffZMvHSjTIUjF02SqPW8nbD3A5LOETb8lpYFzkx4XFxpcfcShjoDeQw34+W8rN oenC90i80B33NM4TLA96JSuve4rwD7aJVuJCb0aARwRzhuNwYGsU/YWVvqrkQw8fON/M+W GBp3JfTDvMXWajtyM+oYkNEdXJQr5TaGEPyuwmeWc4X9xHM9z2YRK3M15KR+SNgw+x87Ah ApOn5DNsGbnKHKmn6tSd6PIxy4yD49Hdvpzw2pywmqkh06rTz/o4jQRBlfOgoR6jLlIO7j glUy4/gJcVJuB/iNWviF57vXCeTBvk/4htdxxAiI6SWMt3B47WJTMg2Kg4X+aQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668085170; a=rsa-sha256; cv=none; b=oE/1HBKRurPRj460G66NaSu2he3BuEndZWRlV9aZEgRsesvuasYt+E1BXFZTnY4sKoPWfr rBSeIld8PEkPrFkrLsP7xClvFfTnRS9Q60D8kQoqpX6pmhrQRPHZ8gMbyJ04fOmT8i68Bo QAZ2ZuXOTaeuG1YGweNP8aHXLtDTlnzdztg18UV+rsEL30R/sHYqAyOMDDgiIv/FZZYzNu fpiQG/IIeg0+i2f/EaDVfQ0JNy8puOTGPL2VEZYZOs8Ug4azzsfH6hc59HwOgrZGkHdDjB P63XDkVm6J7SqM9MYJPDeqCynKMf1WiQEph29SWhKoYqNN13t+DWlp6q59hpaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=aartaka.me header.s=default header.b=AGD360LI; dmarc=none; 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.48 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=aartaka.me header.s=default header.b=AGD360LI; dmarc=none; 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: 640D338EA0 X-Spam-Score: 1.48 X-Migadu-Scanner: scn0.migadu.com X-TUID: PQ3qngc2cJRC --=-=-= Content-Type: text/plain Hello Guix, This adds cl-nsymbols --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-cl-nsymbols.patch Content-Description: Add nsymbols >From 58caa7d89223e80032606a99b35bd6221152c4bd Mon Sep 17 00:00:00 2001 From: Artyom Bologov Date: Thu, 10 Nov 2022 16:53:09 +0400 Subject: [PATCH] gnu: Add cl-nsymbols. * gnu/packages/lisp-xyz.scm (sbcl-nsymbols, cl-nsymbols, ecl-nsymbols): New variables. --- gnu/packages/lisp-xyz.scm | 50 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index b3c5eec050..259c13affd 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -22637,6 +22637,56 @@ (define-public cl-nactivitypub (define-public ecl-nactivitypub (sbcl-package->ecl-package sbcl-nactivitypub)) +(define-public sbcl-nsymbols + (package + (name "sbcl-nsymbols") + (version "0.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/atlas-engineer/nsymbols") + (commit version))) + (file-name (git-file-name "cl-nsymbols" version)) + (sha256 + (base32 + "1nks5v2l6vf0kwiyv3r2lickp3xhyi0ck33y1l08crmwhn097hpd")))) + (build-system asdf-build-system/sbcl) + (native-inputs (list sbcl-lisp-unit2 sbcl)) + (synopsis + "Functions to search, filter, and group symbols in chosen packages") + (home-page "https://github.com/atlas-engineer/nsymbols") + (description "Nsymbols extends the regular package API of ANSI CL with more +operations, allowing one to list: + +@itemize +@item @code{package-symbols}. +@item @code{package-variables}. +@item @code{package-functions}. +@item @code{package-generic-functions}. +@item @code{package-macros}. +@item @code{package-classes}. +@item @code{package-structures}. +@item And other symbol types, given code@{define-symbol-type} for those. +@end itemize + +Nsymbols can also find symbols by their name/matching symbol with +@code{resolve-symbol}. All these operations are aware of symbol +visibility in the given packages, due to a @code{symbol-visibility} +function. + +An additional @code{nsymbols/star} system has a set of function +mirroring the regular Nsymbols ones, but using @code{closer-mop} to +provide better results and returning structured data instead of +symbols.") + (license license:bsd-3))) + +(define-public cl-nsymbols + (sbcl-package->cl-source-package sbcl-nsymbols)) + +(define-public ecl-nsymbols + (sbcl-package->ecl-package sbcl-nsymbols)) + (define-public sbcl-utils-kt (let ((commit "4adfe2889036ab5ffdd3cc2182ca2cc692bf11ff")) (package -- 2.37.1 --=-=-= Content-Type: text/plain Thanks, -- Artyom Bologov. --=-=-=--