about summary refs log tree commit diff
path: root/tests.scm
diff options
context:
space:
mode:
authorArun Isaac2022-03-10 14:48:14 +0530
committerArun Isaac2022-03-10 14:48:14 +0530
commit900c4df8e336a453446150528daeaad77b81f020 (patch)
tree0469cbadee0fecad57194ce0376a026d79f4bd3b /tests.scm
parente38a31264456f7ef191d1a630d1d33897b413546 (diff)
downloadgn-transform-databases-900c4df8e336a453446150528daeaad77b81f020.tar.gz
Rename the delete verb of map-alist to remove.
The delete verb of map-alist somehow interacts with the delete
function from (srfi srfi-1), and I'm not able to figure out how. It is
simpler to just rename the delete verb to remove.

* dump/utils.scm: Do not rename the delete function from (srfi srfi-1).
(map-alist): Rename the delete verb to remove.
* tests.scm ("map-alist docstring example"): Update test.
Diffstat (limited to 'tests.scm')
-rw-r--r--tests.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests.scm b/tests.scm
index 8bb8385..6e9ba03 100644
--- a/tests.scm
+++ b/tests.scm
@@ -67,7 +67,7 @@
     (set aal (+ (key "foo")
                 (key bar)))
     (multiset vel (iota (* 2 (key bar))))
-    (delete foobar)
+    (remove foobar)
     (else=> (match-lambda
               ((key . value)
                (cons key (expt 2 value)))))))