]> gitweb.factorcode.org Git - factor.git/commitdiff
hash-sets: back out this change for now.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sat, 9 Mar 2013 01:53:12 +0000 (17:53 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 9 Mar 2013 01:53:12 +0000 (17:53 -0800)
core/hash-sets/hash-sets.factor

index 56f0effd0ee8e708358b70ccb23d6f33b434de45..1d2f0ec7d642f545682a5bc8cd93e9fa5e8408de 100644 (file)
@@ -1,9 +1,9 @@
 ! Copyright (C) 2010 Daniel Ehrenberg
 ! Copyright (C) 2005, 2011 John Benediktsson, Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs hash-sets hashtables.private
-kernel kernel.private math math.private sequences
-sequences.private sets sets.private slots.private vectors ;
+USING: accessors arrays hash-sets hashtables.private kernel
+kernel.private math math.private sequences sequences.private
+sets sets.private slots.private vectors ;
 IN: hash-sets
 
 TUPLE: hash-set
@@ -163,6 +163,3 @@ PRIVATE>
 
 M: sequence all-unique?
     dup length <hash-set> [ (all-unique?) ] curry all? ;
-
-M: hash-set >alist
-    array>> dup zip ;