diff --git a/basis/unicode/breaks/breaks.factor b/basis/unicode/breaks/breaks.factor index 10bc235805..0524825d43 100644 --- a/basis/unicode/breaks/breaks.factor +++ b/basis/unicode/breaks/breaks.factor @@ -4,8 +4,7 @@ USING: combinators.short-circuit unicode.categories kernel math combinators splitting sequences math.parser io.files io assocs arrays namespaces make math.ranges unicode.normalize.private values io.encodings.ascii unicode.syntax unicode.data compiler.units fry -alien.syntax sets accessors interval-maps memoize locals words -strings hints ; +alien.syntax sets accessors interval-maps memoize locals words ; IN: unicode.breaks : first-word ( str -- i ) [ unclip-slice word-break-prop over ] keep '[ swap _ word-break-next ] assoc-find 2drop - nip swap length or 1+ ; inline - -HINTS: first-word string ; + nip swap length or 1+ ; : >words ( str -- words ) [ first-word ] >pieces ; - -HINTS: >words string ; diff --git a/basis/unicode/collation/collation.factor b/basis/unicode/collation/collation.factor index 90b280ee09..5718ae12a7 100644 --- a/basis/unicode/collation/collation.factor +++ b/basis/unicode/collation/collation.factor @@ -5,7 +5,7 @@ io.encodings.ascii kernel values splitting accessors math.parser ascii io assocs strings math namespaces make sorting combinators math.order arrays unicode.normalize unicode.data locals unicode.syntax macros sequences.deep words unicode.breaks -quotations ; +quotations combinators.short-circuit ; IN: unicode.collation