utils,hash-filter: Say that how the comparison predicate of the result is determined.

This commit is contained in:
Sergiu Ivanov 2020-10-31 00:27:16 +01:00
parent 73756d8974
commit a00f21ad18

View file

@ -635,6 +635,8 @@
;;; or #:predicate/key. #:predicate should be a function returning ;;; or #:predicate/key. #:predicate should be a function returning
;;; a Boolean result given a value of the hash value. #:predicate ;;; a Boolean result given a value of the hash value. #:predicate
;;; should be a function taking a key and the corresponding value. ;;; should be a function taking a key and the corresponding value.
;;;
;;; The comparison predicate of ht determines the one for the result.
(define (hash-filter (define (hash-filter
ht ht
#:predicate [predicate #f] #:predicate [predicate #f]