diff options
author | jgart <jgart@dismail.de> | 2024-09-15 21:25:26 -0500 |
---|---|---|
committer | jgart <jgart@dismail.de> | 2024-09-15 21:43:27 -0500 |
commit | 8bb98e67cb3ff0a73463787654ab6460a3a9db0a (patch) | |
tree | 594f6b99cb7605d55a2101399771eef17cf4f757 | |
parent | b9096949563e00799f3287149beede3d9e39e701 (diff) | |
download | guix-8bb98e67cb3ff0a73463787654ab6460a3a9db0a.tar.gz guix-8bb98e67cb3ff0a73463787654ab6460a3a9db0a.zip |
gnu: Add cl-fare-memoization.
* gnu/packages/lisp-xyz.scm (sbcl-fare-memoization, cl-fare-memoization,
ecl-fare-memoization): New variables.
Change-Id: I4c5566a0cb4f1cc79df15d9dd37f6c89cdae874e
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 2e0dea522e..ad9e1c711d 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -14728,6 +14728,40 @@ which standard exactly.") (define-public ecl-fare-csv (sbcl-package->ecl-package sbcl-fare-csv)) +(define-public sbcl-fare-memoization + (let ((commit "8b43ac6bcc0057d1a92052e39b6d34c05c2eb7e4") + (revision "0")) + (package + (name "sbcl-fare-memoization") + (version "1.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.common-lisp.net/frideau/fare-memoization") + (commit commit))) + (sha256 + (base32 "1blmrb4c9gsxj87scz74z1s8w9d1w2r48fyxj0y1sw3vr6bsbb8f")) + (file-name (git-file-name name commit)))) + (build-system asdf-build-system/sbcl) + (native-inputs + (list sbcl-hu.dwim.stefil)) + (inputs + (list sbcl-named-readtables)) + (home-page "https://gitlab.common-lisp.net/frideau/fare-memoization") + (synopsis "Memoization library for Common Lisp") + (description + "This library builds on the venerable idea of dynamically memoizing functions. +A memoized function remembers results from previous computations and returns cached +results when called again with the same arguments rather than repeating the computation.") + (license license:expat)))) + +(define-public cl-fare-memoization + (sbcl-package->cl-source-package sbcl-fare-memoization)) + +(define-public ecl-fare-memoization + (sbcl-package->ecl-package sbcl-fare-memoization)) + (define-public sbcl-fare-mop (let ((commit "538aa94590a0354f382eddd9238934763434af30") (revision "1")) |