mes: Add hash-fold.
* mes/module/mes/scm.mes (hash-fold): New function.
This commit is contained in:
parent
e4d35f5915
commit
c005d4abd3
|
@ -215,6 +215,9 @@
|
|||
alist)
|
||||
acc))))))))
|
||||
|
||||
(define (hash-fold proc init table)
|
||||
(fold proc init (hash-map->list cons table)))
|
||||
|
||||
|
||||
;; Vector
|
||||
(define (vector . rest) (list->vector rest))
|
||||
|
|
Loading…
Reference in New Issue