[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#57654] [PATCH 02/16] gnu: Add cl-enhanced-typep.
From: |
jgart |
Subject: |
[bug#57654] [PATCH 02/16] gnu: Add cl-enhanced-typep. |
Date: |
Wed, 7 Sep 2022 19:48:50 -0500 |
* 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
- [bug#57654] [PATCH] gnu: Add cl-definitions-systems., jgart, 2022/09/07
- [bug#57654] [PATCH 01/16] gnu: Add cl-canonicalized-initargs., jgart, 2022/09/07
- [bug#57654] [PATCH 02/16] gnu: Add cl-enhanced-typep.,
jgart <=
- [bug#57654] [PATCH 05/16] gnu: Add cl-shared-preferences., jgart, 2022/09/07
- [bug#57654] [PATCH 06/16] gnu: Add cl-inheriting-readers., jgart, 2022/09/07
- [bug#57654] [PATCH 14/16] gnu: Add cl-class-options., jgart, 2022/09/07
- [bug#57654] [PATCH 03/16] gnu: Add cl-enhanced-defclass., jgart, 2022/09/07
- [bug#57654] [PATCH 07/16] gnu: Add cl-simple-guess., jgart, 2022/09/07
- [bug#57654] [PATCH 08/16] gnu: Add cl-fakenil., jgart, 2022/09/07
- [bug#57654] [PATCH 11/16] gnu: Add cl-enhanced-boolean., jgart, 2022/09/07
- [bug#57654] [PATCH 13/16] gnu: Add cl-compatible-metaclasses., jgart, 2022/09/07
- [bug#57654] [PATCH 04/16] gnu: Add cl-object-class., jgart, 2022/09/07
- [bug#57654] [PATCH 09/16] gnu: Add cl-evaled-when., jgart, 2022/09/07