GNU bug report logs -
#52405
[PATCH] gnu: Add cl-zsort.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52405 in the body.
You can then email your comments to 52405 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#52405
; Package
guix-patches
.
(Fri, 10 Dec 2021 06:11:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 10 Dec 2021 06:11:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/lisp-xyz.scm (cl-zsort, ecl-zsort, sbcl-zsort): New
variables.
---
Note:
In ECL, `(zsort:counting-sort #(4 5 7 3 9 2 4 2 0 8 2 4 1 5 9) :ascend t)`
fails with:
Condition of type: SIMPLE-TYPE-ERROR
In function +, the value of the first argument is
NIL
which is not of the expected type NUMBER
gnu/packages/lisp-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 635f8e48cb..0ac48db778 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -19868,6 +19868,40 @@ library inspired by @code{cl-data-format-validation} and WTForms validators.")
(define-public ecl-restas
(sbcl-package->ecl-package sbcl-restas))
+(define-public sbcl-zsort
+ (let ((commit "f6724a6fff7662a942195cedb0d7f00da59c74ed")
+ (revision "1"))
+ (package
+ (name "sbcl-zsort")
+ (version (git-version "0.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jorgetavares/zsort")
+ (commit commit)))
+ (file-name (git-file-name "cl-zsort" version))
+ (sha256
+ (base32 "1vyklyh99712zsll4qi0m4mm8yb1nz04403vl8i57bjv5p5max49"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ `(("alexandria" ,sbcl-alexandria)))
+ (home-page "https://github.com/jorgetavares/zsort")
+ (synopsis "Collection of portable sorting algorithms in Common Lisp")
+ (description
+ "@code{zsort} is a collection of portable sorting algorithms. Common
+Lisp provides the @code{sort} and @code{stable-sort} functions but these can
+have different algorithms implemented according to each implementation. Also,
+the standard sorting functions might not be the best for a certain situations.
+This library aims to provide developers with more options.")
+ (license license:expat))))
+
+(define-public cl-zsort
+ (sbcl-package->cl-source-package sbcl-zsort))
+
+(define-public ecl-zsort
+ (sbcl-package->ecl-package sbcl-zsort))
+
(define-public sbcl-cl-https-everywhere
;; No release.
;; Don't forget to update the https-everywhere input.
base-commit: e1973ae74beb2880c11593155849f43e23ef620c
--
2.25.1
Reply sent
to
Guillaume Le Vaillant <glv <at> posteo.net>
:
You have taken responsibility.
(Sat, 11 Dec 2021 09:52:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
:
bug acknowledged by developer.
(Sat, 11 Dec 2021 09:52:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 52405-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Patch pushed as e9c6be11260b1487ee241855d8189e1441f6bf8d.
Thanks.
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 08 Jan 2022 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 164 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.