]> gitweb.factorcode.org Git - factor.git/commitdiff
refactor: remove duplicate word
authorRudi Grinberg <me@rgrinberg.com>
Sat, 22 Jul 2023 13:11:45 +0000 (15:11 +0200)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 22 Jul 2023 14:50:47 +0000 (07:50 -0700)
[no-key] already exists in hashtables.factor

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
core/hash-sets/hash-sets.factor

index 3ab0778aa3f2c18989a2545144370f8e09487916..4e9a948c38d19a6ce90c3f08dabc6baa995f5558 100644 (file)
@@ -19,8 +19,6 @@ TUPLE: hash-set
 : probe ( array i probe# -- array i probe# )
     1 fixnum+fast [ fixnum+fast over wrap ] keep ; inline
 
-: no-key ( key array -- array n ? ) nip f f ; inline
-
 : (key@) ( key array i probe# -- array n ? )
     [ 3dup swap array-nth ] dip over +empty+ eq?
     [ 4drop no-key ] [