diff --git a/basis/binary-search/binary-search.factor b/basis/binary-search/binary-search.factor index 36e983a1c8..db40408d5e 100644 --- a/basis/binary-search/binary-search.factor +++ b/basis/binary-search/binary-search.factor @@ -1,14 +1,14 @@ ! Copyright (C) 2008, 2010 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: accessors arrays combinators hints kernel locals math -math.order sequences ; +math.order sequences sequences.private ; IN: binary-search ) -- i elt ) from to + 2/ :> midpoint@ - midpoint@ seq nth :> midpoint + midpoint@ seq nth-unsafe :> midpoint to from - 1 <= [ midpoint@ midpoint