diff options
author | jgart <jgart@dismail.de> | 2022-09-06 08:25:52 -0500 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2022-09-07 14:32:08 +0200 |
commit | 73654708bf2a14cc557ccc1ccf76514e67abf83b (patch) | |
tree | 9934a8387d339305cfea7d746efcfd77ae6914c6 | |
parent | 94c6e683108e55a1eeb73e62ee3794d5ed95d816 (diff) | |
download | guix-73654708bf2a14cc557ccc1ccf76514e67abf83b.tar.gz guix-73654708bf2a14cc557ccc1ccf76514e67abf83b.zip |
gnu: Add cl-map-bind.
* gnu/packages/lisp-xyz.scm (cl-map-bind, ecl-map-bind, sbcl-map-bind): New
variables.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 68b5d17d95..9e40250b67 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -148,6 +148,38 @@ portable between implementations.") (define-public ecl-alexandria (sbcl-package->ecl-package sbcl-alexandria)) +(define-public sbcl-map-bind + (let ((commit "532d55d93540c632e22b2cd264b5daa5f9d3d900") + (revision "0")) + (package + (name "sbcl-map-bind") + (version (git-version "1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Hexstream/map-bind") + (commit commit))) + (file-name (git-file-name "cl-map-bind" version)) + (sha256 + (base32 "0hfy65xyqc4zqfncn11pp3hjjkdz7m91cynnv91s3lgcl3kffva0")))) + (build-system asdf-build-system/sbcl) + (native-inputs + (list sbcl-parachute)) + (home-page "https://www.hexstreamsoft.com/libraries/map-bind/") + (synopsis "Macro favouring positional references over naming") + (description + "@code{MAP-BIND} is a macro that allows visual grouping of variables with +their corresponding values in calls to mapping operators when using an +inline @code{LAMBDA}.") + (license license:unlicense)))) + +(define-public cl-map-bind + (sbcl-package->cl-source-package sbcl-map-bind)) + +(define-public ecl-cl-map-bind + (sbcl-package->ecl-package sbcl-map-bind)) + (define-public sbcl-bodge-utilities (let ((commit "6304bac4abe06d53579e2c0fc4437d14ff077d9f") (revision "1")) |