summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/guile/skribilo/utils/compat.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guile/skribilo/utils/compat.scm b/src/guile/skribilo/utils/compat.scm
index cf97258..d24dd6f 100644
--- a/src/guile/skribilo/utils/compat.scm
+++ b/src/guile/skribilo/utils/compat.scm
@@ -248,8 +248,8 @@
(hash-set! table key init-value)
(set-cdr! handle (update-proc (cdr handle))))))
-(define-public hashtable->list (lambda (h)
- (map cdr (hash-map->list cons h))))
+(define-public (hashtable->list h)
+ (hash-map->list (lambda (key val) val) h))
(define-public (find-runtime-type obj)
(cond ((string? obj) "string")