aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-12-16 15:38:21 +0530
committerArun Isaac2021-12-16 15:38:21 +0530
commit7a8ac50d0a2be8d12a33c8942e50b12d68836cf2 (patch)
tree91f2708cb86d5d0461a494c01c808e5a3c39aba6
parent1aad2a2f50dc51b1cd89eb2cac0944b7c87e6c61 (diff)
downloadgn-transform-databases-7a8ac50d0a2be8d12a33c8942e50b12d68836cf2.tar.gz
Rename away delete from (srfi srfi-1).
delete from (srfi srfi-1) somehow interferes with the delete verb of map-alist. It is not clear why. * dump/utils.scm (dump): Rename delete to srfi:delete while importing.
-rw-r--r--dump/utils.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/dump/utils.scm b/dump/utils.scm
index b5c954f..a6292ff 100644
--- a/dump/utils.scm
+++ b/dump/utils.scm
@@ -1,5 +1,9 @@
(define-module (dump utils)
- #:use-module (srfi srfi-1)
+ ;; Rename delete to srfi:delete since it somehow interferes with the
+ ;; delete verb of map-alist.
+ #:use-module ((srfi srfi-1) #:renamer (lambda (sym)
+ (if (eq? sym 'delete)
+ 'srfi:delete sym)))
#:use-module (srfi srfi-26)
#:use-module (ice-9 match)
#:export (map-alist))