From c9d192f09bbe4a2d78d27975fbaa9d6891cdba54 Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Tue, 22 Dec 2015 20:02:27 -0600 Subject: [PATCH] make more explicit that `define-custom-set-types` produces hash sets. --- pkgs/racket-doc/scribblings/reference/sets.scrbl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/racket-doc/scribblings/reference/sets.scrbl b/pkgs/racket-doc/scribblings/reference/sets.scrbl index f14c27b0ab..b6e5a99765 100644 --- a/pkgs/racket-doc/scribblings/reference/sets.scrbl +++ b/pkgs/racket-doc/scribblings/reference/sets.scrbl @@ -709,7 +709,7 @@ Supported for any @racket[st] that @supp{supports} @racket[set->stream]. (code:line hash1-expr) (code:line hash1-expr hash2-expr)])]{ -Creates a new set type based on the given comparison @racket[comparison-expr], +Creates a new hash set type based on the given comparison @racket[comparison-expr], hash functions @racket[hash1-expr] and @racket[hash2-expr], and element predicate @racket[predicate-expr]; the interfaces for these functions are the same as in @racket[make-custom-set-types]. The new set type has three @@ -749,6 +749,8 @@ initial elements. (make-mutable-string-set '("apple" "banana"))) (generic-set? imm) (generic-set? mut) +(set? imm) +(generic-set? imm) (string-set? imm) (string-set? mut) (immutable-string-set? imm)