From a00f21ad182dbc3bc34bcd85d7343061d82c1181 Mon Sep 17 00:00:00 2001 From: Sergiu Ivanov Date: Sat, 31 Oct 2020 00:27:16 +0100 Subject: [PATCH] utils,hash-filter: Say that how the comparison predicate of the result is determined. --- utils.rkt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils.rkt b/utils.rkt index 3d9bcce..48db509 100644 --- a/utils.rkt +++ b/utils.rkt @@ -635,6 +635,8 @@ ;;; or #:predicate/key. #:predicate should be a function returning ;;; a Boolean result given a value of the hash value. #:predicate ;;; 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 ht #:predicate [predicate #f]