From: "Paul A. Patience" <paul@apatience.com>
To: 59303@debbugs.gnu.org
Cc: "Paul A. Patience" <paul@apatience.com>
Subject: [bug#59303] [PATCH 1/3] gnu: Add cl-wu-decimal.
Date: Wed, 16 Nov 2022 08:06:14 +0000 [thread overview]
Message-ID: <20221116080609.129285-1-paul@apatience.com> (raw)
In-Reply-To: <20221116080321.129054-1-paul@apatience.com>
* gnu/packages/lisp-xyz.scm (sbcl-wu-decimal, cl-wu-decimal,
ecl-wu-decimal): New variables.
---
gnu/packages/lisp-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index ccbf5a3aae..7002160ff2 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20468,6 +20468,38 @@ (define-public cl-which
(define-public ecl-which
(sbcl-package->ecl-package sbcl-which))
+(define-public sbcl-wu-decimal
+ (let ((commit "5b348bdb32a0f83e80e17aa68cd51787ae8c8a45")
+ (revision "0"))
+ (package
+ (name "sbcl-wu-decimal")
+ (version (git-version "2.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Wukix/wu-decimal")
+ (commit commit)))
+ (file-name (git-file-name "cl-wu-decimal" version))
+ (sha256
+ (base32 "1p7na4hic7297amwm4idfwkyx664ny8cdssncyra37pmv4wzp8dm"))))
+ (build-system asdf-build-system/sbcl)
+ (home-page "https://github.com/Wukix/wu-decimal")
+ (synopsis "Arbitrary-precision decimal arithmetic")
+ (description
+ "Wu-Decimal enables convenient, arbitrary-precision decimal arithmetic
+through a reader macro, @code{#$}, and an update to the @code{pprint} dispatch
+table. Wu-Decimal uses the CL rational type to store decimals, which enables
+numeric functions such as @code{+}, @code{-}, etc., to operate on decimal
+numbers in a natural way.")
+ (license license:bsd-2))))
+
+(define-public cl-wu-decimal
+ (sbcl-package->cl-source-package sbcl-wu-decimal))
+
+(define-public ecl-wu-decimal
+ (sbcl-package->ecl-package sbcl-wu-decimal))
+
(define-public sbcl-cl-num-utils
(let ((commit "97a88cd34540acf52e872a82ebfef3da0a34fa12")
(revision "1"))
--
2.38.0
next prev parent reply other threads:[~2022-11-16 8:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-16 8:03 [bug#59303] [PATCH 0/3] gnu: Add cl-random-sample Paul A. Patience
2022-11-16 8:06 ` Paul A. Patience [this message]
2022-11-16 8:06 ` [bug#59303] [PATCH 2/3] gnu: Add cl-infix-math Paul A. Patience
2022-11-16 8:06 ` [bug#59303] [PATCH 3/3] gnu: Add cl-random-sample Paul A. Patience
2022-11-16 9:57 ` bug#59303: [PATCH 0/3] " Guillaume Le Vaillant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221116080609.129285-1-paul@apatience.com \
--to=paul@apatience.com \
--cc=59303@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.