guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/19: gnu: Add cl-enhanced-typep.


From: guix-commits
Subject: 02/19: gnu: Add cl-enhanced-typep.
Date: Fri, 9 Sep 2022 08:32:00 -0400 (EDT)

glv pushed a commit to branch master
in repository guix.

commit 3b5c5cbb6d35b68f51d70dbf2be514acb19f7b22
Author: jgart <jgart@dismail.de>
AuthorDate: Wed Sep 7 19:48:50 2022 -0500

    gnu: Add cl-enhanced-typep.
    
    * gnu/packages/lisp-xyz.scm (cl-enhanced-typep, ecl-enhanced-typep,
      sbcl-enhanced-typep): New variables.
    
    Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
---
 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 e55b29ab80..abc971ad7f 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -23280,6 +23280,36 @@ especially in a multi-threaded context.")
 (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 "cl-enhanced-typep" 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
+     "This package 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"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]