diff --git a/core/hash-sets/hash-sets.factor b/core/hash-sets/hash-sets.factor index 248b4af4c6..b4bf9a1aef 100644 --- a/core/hash-sets/hash-sets.factor +++ b/core/hash-sets/hash-sets.factor @@ -9,7 +9,7 @@ IN: hash-sets TUPLE: hash-set { table hashtable read-only } ; : ( members -- hash-set ) - [ dup ] H{ } map>assoc hash-set boa ; + H{ } clone [ [ dupd set-at ] curry each ] keep hash-set boa ; INSTANCE: hash-set set M: hash-set in? table>> key? ; inline