Handbook
Glossary
find-numbers ( sequence -- sequence' )
Human-friendly sorting
Prev:
human>=< ( obj1 obj2 -- >=< )
Vocabulary
sorting
.
human
Inputs
sequence
a
sequence
Outputs
sequence'
a
sequence
Word description
Splits a string on numbers and returns a sequence of sequences and integers.
Definition
USING:
math.parser
sorting.human.private
unicode
;
IN:
sorting.human
:
find-numbers
( sequence -- sequence' )
[
digit?
]
[
string>number
]
find-sequences
;