[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 03/03: Fix hash-table-merge! bug.

From: Andy Wingo
Subject: [Guile-commits] 03/03: Fix hash-table-merge! bug.
Date: Fri, 12 Mar 2021 16:32:17 -0500 (EST)

wingo pushed a commit to branch master
in repository guile.

commit 23042a1ef9ea5054feb0c4d33a36b10115e65e18
Author: Ricardo G. Herdt <>
AuthorDate: Fri May 8 01:37:24 2020 +0200

    Fix hash-table-merge! bug.
    * module/srfi/srfi-69.scm : fold over second hash table.
 module/srfi/srfi-69.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/srfi/srfi-69.scm b/module/srfi/srfi-69.scm
index b9486c4..91bcc77 100644
--- a/module/srfi/srfi-69.scm
+++ b/module/srfi/srfi-69.scm
@@ -330,7 +330,7 @@ Answer the final F result."
   "Add all key/value pairs from OTHER-HT to HT, overriding HT's
 mappings where present.  Return HT."
-   ht (lambda (k v ign) (hash-table-set! ht k v)) #f)
+   other-ht (lambda (k v ign) (hash-table-set! ht k v)) #f)
 ;;; srfi-69.scm ends here

reply via email to

[Prev in Thread] Current Thread [Next in Thread]