* [bug#59303] [PATCH 0/3] gnu: Add cl-random-sample.
@ 2022-11-16 8:03 Paul A. Patience
2022-11-16 8:06 ` [bug#59303] [PATCH 1/3] gnu: Add cl-wu-decimal Paul A. Patience
2022-11-16 9:57 ` bug#59303: [PATCH 0/3] " Guillaume Le Vaillant
0 siblings, 2 replies; 5+ messages in thread
From: Paul A. Patience @ 2022-11-16 8:03 UTC (permalink / raw)
To: 59303; +Cc: Paul A. Patience
Paul A. Patience (3):
gnu: Add cl-wu-decimal.
gnu: Add cl-infix-math.
gnu: Add cl-random-sample.
gnu/packages/lisp-xyz.scm | 99 +++++++++++++++++++++++++++++++++++++++
1 file changed, 99 insertions(+)
--
2.38.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#59303] [PATCH 1/3] gnu: Add cl-wu-decimal.
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
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
1 sibling, 2 replies; 5+ messages in thread
From: Paul A. Patience @ 2022-11-16 8:06 UTC (permalink / raw)
To: 59303; +Cc: Paul A. Patience
* 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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#59303] [PATCH 2/3] gnu: Add cl-infix-math.
2022-11-16 8:06 ` [bug#59303] [PATCH 1/3] gnu: Add cl-wu-decimal Paul A. Patience
@ 2022-11-16 8:06 ` Paul A. Patience
2022-11-16 8:06 ` [bug#59303] [PATCH 3/3] gnu: Add cl-random-sample Paul A. Patience
1 sibling, 0 replies; 5+ messages in thread
From: Paul A. Patience @ 2022-11-16 8:06 UTC (permalink / raw)
To: 59303; +Cc: Paul A. Patience
* gnu/packages/lisp-xyz.scm (sbcl-infix-math, cl-infix-math,
ecl-infix-math): New variables.
---
gnu/packages/lisp-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 7002160ff2..f2b6d568e6 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20500,6 +20500,37 @@ (define-public cl-wu-decimal
(define-public ecl-wu-decimal
(sbcl-package->ecl-package sbcl-wu-decimal))
+(define-public sbcl-infix-math
+ (let ((commit "f5155ae9709e518061ace79887d78f8e79c61cac")
+ (revision "0"))
+ (package
+ (name "sbcl-infix-math")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ruricolist/infix-math")
+ (commit commit)))
+ (file-name (git-file-name "cl-infix-math" version))
+ (sha256
+ (base32 "1h6p254xl793wfq3qla5y95k6zimy477f8brblx6ran3rg3bydbg"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ (list sbcl-alexandria sbcl-parse-number sbcl-serapeum sbcl-wu-decimal))
+ (home-page "https://github.com/ruricolist/infix-math")
+ (synopsis "Extensible infix syntax for math in Common Lisp")
+ (description
+ "Infix-Math is a library that provides a special-purpose syntax for
+transcribing mathematical formulas into Lisp.")
+ (license license:expat))))
+
+(define-public cl-infix-math
+ (sbcl-package->cl-source-package sbcl-infix-math))
+
+(define-public ecl-infix-math
+ (sbcl-package->ecl-package sbcl-infix-math))
+
(define-public sbcl-cl-num-utils
(let ((commit "97a88cd34540acf52e872a82ebfef3da0a34fa12")
(revision "1"))
--
2.38.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#59303] [PATCH 3/3] gnu: Add cl-random-sample.
2022-11-16 8:06 ` [bug#59303] [PATCH 1/3] gnu: Add cl-wu-decimal Paul A. Patience
2022-11-16 8:06 ` [bug#59303] [PATCH 2/3] gnu: Add cl-infix-math Paul A. Patience
@ 2022-11-16 8:06 ` Paul A. Patience
1 sibling, 0 replies; 5+ messages in thread
From: Paul A. Patience @ 2022-11-16 8:06 UTC (permalink / raw)
To: 59303; +Cc: Paul A. Patience
* gnu/packages/lisp-xyz.scm (sbcl-random-sample, cl-random-sample,
ecl-random-sample): New variables.
---
gnu/packages/lisp-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index f2b6d568e6..5192097ab2 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20714,6 +20714,42 @@ (define-public cl-random
(define-public ecl-cl-random
(sbcl-package->ecl-package sbcl-cl-random))
+(define-public sbcl-random-sample
+ (let ((commit "46b70374ed796b84ea003e83c1db97b0caf97e22")
+ (revision "0"))
+ (package
+ (name "sbcl-random-sample")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ruricolist/random-sample")
+ (commit commit)))
+ (file-name (git-file-name "cl-random-sample" version))
+ (sha256
+ (base32 "0nhgca6wf754wbg91h40gx7xq22rawg2pn6l7h02wv1jxac4q6nh"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs
+ (list sbcl-fiveam))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-infix-math
+ sbcl-named-readtables
+ sbcl-serapeum))
+ (home-page "https://github.com/ruricolist/random-sample")
+ (synopsis "Take a random sample from a sequence")
+ (description
+ "Random-Sample is a library for reliably taking a random sample from a
+sequence.")
+ (license license:expat))))
+
+(define-public cl-random-sample
+ (sbcl-package->cl-source-package sbcl-random-sample))
+
+(define-public ecl-random-sample
+ (sbcl-package->ecl-package sbcl-random-sample))
+
(define-public sbcl-mgl-gpr
(let ((commit "cb6ce51e2f87bf1d589f3703c13eea6e25780afe")
(revision "1"))
--
2.38.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* bug#59303: [PATCH 0/3] gnu: Add cl-random-sample.
2022-11-16 8:03 [bug#59303] [PATCH 0/3] gnu: Add cl-random-sample Paul A. Patience
2022-11-16 8:06 ` [bug#59303] [PATCH 1/3] gnu: Add cl-wu-decimal Paul A. Patience
@ 2022-11-16 9:57 ` Guillaume Le Vaillant
1 sibling, 0 replies; 5+ messages in thread
From: Guillaume Le Vaillant @ 2022-11-16 9:57 UTC (permalink / raw)
To: Paul A. Patience; +Cc: 59303-done
[-- Attachment #1: Type: text/plain, Size: 82 bytes --]
Patches pushed as 56f73178e4a2e50f1bc9c5553117000f1781fad9 and
following.
Thanks.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-11-16 9:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-16 8:03 [bug#59303] [PATCH 0/3] gnu: Add cl-random-sample Paul A. Patience
2022-11-16 8:06 ` [bug#59303] [PATCH 1/3] gnu: Add cl-wu-decimal Paul A. Patience
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
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.