diff --git a/core/hash-sets/hash-sets.factor b/core/hash-sets/hash-sets.factor index 6a03bd02d9..44de159a61 100644 --- a/core/hash-sets/hash-sets.factor +++ b/core/hash-sets/hash-sets.factor @@ -9,9 +9,7 @@ IN: hash-sets TUPLE: hash-set { table hashtable read-only } ; : ( members -- hash-set ) - dup length [ - [ dupd set-at ] curry each - ] keep hash-set boa ; + unique hash-set boa ; inline INSTANCE: hash-set set M: hash-set in? table>> key? ; inline