[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/09: import: utils: Remove 'assoc-ref*'.
From: |
guix-commits |
Subject: |
03/09: import: utils: Remove 'assoc-ref*'. |
Date: |
Thu, 12 Mar 2020 06:52:49 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 2d0409a4a2cedb76ab7a96173e19304bb54b8701
Author: Ludovic Courtès <address@hidden>
AuthorDate: Thu Mar 12 11:13:33 2020 +0100
import: utils: Remove 'assoc-ref*'.
* guix/import/utils.scm (assoc-ref*): Remove.
---
guix/import/utils.scm | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/guix/import/utils.scm b/guix/import/utils.scm
index d17d400..94c8cb0 100644
--- a/guix/import/utils.scm
+++ b/guix/import/utils.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012, 2013, 2018, 2019 Ludovic Courtès <address@hidden>
+;;; Copyright © 2012, 2013, 2018, 2019, 2020 Ludovic Courtès <address@hidden>
;;; Copyright © 2016 Jelle Licht <address@hidden>
;;; Copyright © 2016 David Craven <address@hidden>
;;; Copyright © 2017, 2019 Ricardo Wurmus <address@hidden>
@@ -47,7 +47,6 @@
#:export (factorize-uri
flatten
- assoc-ref*
url-fetch
guix-hash-url
@@ -110,13 +109,6 @@ of the string VERSION is replaced by the symbol 'version."
(cons elem memo)))
'() lst))
-(define (assoc-ref* alist key . rest)
- "Return the value for KEY from ALIST. For each additional key specified,
-recursively apply the procedure to the sub-list."
- (if (null? rest)
- (assoc-ref alist key)
- (apply assoc-ref* (assoc-ref alist key) rest)))
-
(define (url-fetch url file-name)
"Save the contents of URL to FILE-NAME. Return #f on failure."
(parameterize ((current-output-port (current-error-port)))
- branch master updated (ec73c90 -> 0a703c0), guix-commits, 2020/03/12
- 01/09: gnu: guile-next: Enable JIT on ARMv7., guix-commits, 2020/03/12
- 02/09: import: pypi: Rewrite to use 'define-json-mapping'., guix-commits, 2020/03/12
- 03/09: import: utils: Remove 'assoc-ref*'.,
guix-commits <=
- 06/09: gnu: dune-*: set up MPI for tests, guix-commits, 2020/03/12
- 05/09: inferior: Distinguish inferior exceptions., guix-commits, 2020/03/12
- 07/09: gnu: Add dune-uggrid., guix-commits, 2020/03/12
- 09/09: gnu: dune-istl: Build with suitesparse, guix-commits, 2020/03/12
- 08/09: gnu: Add dune-subgrid, guix-commits, 2020/03/12
- 04/09: import: cpan: Gracefully handle missing projects., guix-commits, 2020/03/12