Handbook
Glossary
word-break-at? ( i str -- ? )
Vocabulary
unicode
Inputs
i
an
object
str
an
object
Outputs
?
an
object
Definition
USING:
combinators.short-circuit
kernel
math
sequences
unicode.breaks.private
unicode.private
;
IN:
unicode
:
word-break-at?
( i str -- ? )
{
[
drop
zero?
]
[
length
=
]
[
[
nth-next
[
word-break-prop
]
dip
]
2keep
word-break-next
nip
]
}
2||
;