From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 2HH0Klw8GWOA3QAAbAwnHQ (envelope-from ) for ; Thu, 08 Sep 2022 02:50:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cOcFKlw8GWN2CAEAG6o9tA (envelope-from ) for ; Thu, 08 Sep 2022 02:50:36 +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 3DF778CA0 for ; Thu, 8 Sep 2022 02:50:36 +0200 (CEST) Received: from localhost ([::1]:57674 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oW5kZ-0002Mz-8e for larch@yhetil.org; Wed, 07 Sep 2022 20:50:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oW5k2-0002KW-NH for guix-patches@gnu.org; Wed, 07 Sep 2022 20:50:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39735) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oW5k2-0002vf-DT for guix-patches@gnu.org; Wed, 07 Sep 2022 20:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oW5k2-0006zx-A2 for guix-patches@gnu.org; Wed, 07 Sep 2022 20:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57654] [PATCH 02/16] gnu: Add cl-enhanced-typep. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Sep 2022 00:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57654 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57654@debbugs.gnu.org Cc: jgart Received: via spool by 57654-submit@debbugs.gnu.org id=B57654.166259817326708 (code B ref 57654); Thu, 08 Sep 2022 00:50:02 +0000 Received: (at 57654) by debbugs.gnu.org; 8 Sep 2022 00:49:33 +0000 Received: from localhost ([127.0.0.1]:56620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oW5jY-0006wg-T3 for submit@debbugs.gnu.org; Wed, 07 Sep 2022 20:49:33 -0400 Received: from mx1.dismail.de ([78.46.223.134]:6194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oW5jU-0006vi-6Z for 57654@debbugs.gnu.org; Wed, 07 Sep 2022 20:49:28 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 6bf009f1 for <57654@debbugs.gnu.org>; Thu, 8 Sep 2022 02:49:21 +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=8cdt6RmNQgPyOKQU3d6iH 6xA/rKn9d920LhVu3UnxGo=; b=hgUOyIRkQ/nZ59fevL44X5gTelNkfpSAoNcU8 Zsj/GSIFEvQAMdae6aRCC/JvcUMWfRXZY6/3DIV5H4MS4lKmXIC23OYemoQg263w bvuPIcFn6+YQTFHKJNM04d+nshWBzsyhYzIHFKyHLBQunJ9mSpjHxokeTy9sr8Az zBTAhOiWi6NVIS0CJFD1USKUNgHyDpM6WKjkbfOIYRLTg4vOOWiFjdoL0n8UL43f ru/Cy00KMN2QuQDv4aiJgDCygUJknGrCPtR8p/QgHKA8Agk6uxB8eG1t9lcDc4N/ 5hQOiZACT6cWkb9BwYsVGxVvz7R1I7E6RqgSY2arxaG9xvJMw== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id fa86b8cc for <57654@debbugs.gnu.org>; Thu, 8 Sep 2022 02:49:21 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id a8a5e118 for <57654@debbugs.gnu.org>; Thu, 8 Sep 2022 02:49:20 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 0633e7b5 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 8 Sep 2022 02:49:19 +0200 (CEST) Date: Wed, 7 Sep 2022 19:48:50 -0500 Message-Id: <20220908004904.27259-2-jgart@dismail.de> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220908004904.27259-1-jgart@dismail.de> References: <20220908004904.27259-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=1662598236; 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=h8FNveMobLBC53s+MSEylCxI0yncAYYioO1KZescyBs=; b=blSKK0o8s2x3HI8MedoBN16TItuKKqs5kw5MaCF38eKMP1o6A0ny2MdjkfYpxg26x/E5X8 EECxpbdrbqvIirX7+uIhQLrE+XxWtKrnofHFgWkzRH25pQslJR7uXhXDpjX+WUe5JlTfim ElPtgCoNJCZHiWjUFkrI5pUUr05V+D1C+2OF/YK6rOocsaxHEAWdp34iKqxNFMtKKlpaDe raLghBBq/U9g8g5nsjNnz3GubRiozagSSVG379KXNbomGBZ6ymjtiu/7srrpM2S0JGIvS6 eyJCEWIs140DCmURw+kW7/JYPaXcni9LDaXV3DK8K03n6YxwG+9KqJu6E/CMsw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662598236; a=rsa-sha256; cv=none; b=piEDvc5ks0Nu4CsVfGl6P1vLlI71CXtKmyGW5/mrXYgequUDcZ0WOTTZkDHOCyPLOTrj9o Y6XLdMwvquWXMJNm3FnmB+PUP4IS2NjZIg2b31TlodofLk9ObZ/D9kvO8o+cLhy46aHt6o U4SLjGvbbnAN2AgHQGGxpE84vqSTelcpSepwo7FvTZ8qKvQ4TDGI4IlFsSQJpzeFwWbmbu uGnb1b3bLr4VVOeX1Ab3UjBOGUX9rl1NjM97q2f0Zppcg6kyR/6UC/ICvynQWsWetzQyrz rPNhA75M23+l+QASt+aAHBwQ89r2qShoouFQOy0d07bOIThFBkvI/LY508FKOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=hgUOyIRk; 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: -3.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=hgUOyIRk; 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: 3DF778CA0 X-Spam-Score: -3.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: J4zXzW6sFOkE * gnu/packages/lisp-xyz.scm (cl-enhanced-typep, ecl-enhanced-typep, sbcl-enhanced-typep): New variables. --- gnu/packages/lisp-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index e9a4c8f2b5..4f441195aa 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -23314,6 +23314,36 @@ (define-public cl-canonicalized-initargs (define-public ecl-canonicalized-initargs (sbcl-package->ecl-package sbcl-canonicalized-initargs)) +(define-public sbcl-enhanced-typep + (package + (name "sbcl-enhanced-typep") + (version "1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Hexstream/enhanced-typep") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0b22gddkbxnhmi71wa2h51495737lrvsqxnri7g1qdsl1hraml21")))) + (build-system asdf-build-system/sbcl) + (native-inputs + (list sbcl-enhanced-boolean sbcl-parachute)) + (home-page "https://www.hexstreamsoft.com/libraries/enhanced-typep/") + (synopsis "Enhanced version of typep") + (description +"Provides an enhanced version of @code{typep} that is exactly like the +one in the Lisp spec, except it can also accept a single type argument, +in which case it returns the appropriate closure.") + (license license:unlicense))) + +(define-public cl-enhanced-typep + (sbcl-package->cl-source-package sbcl-enhanced-typep)) + +(define-public ecl-enhanced-typep + (sbcl-package->ecl-package sbcl-enhanced-typep)) + (define-public sbcl-smug (let ((commit "647a2428df297e1dd183ba7c19574bdb1320ae79") (revision "0")) -- 2.37.2