splitting vocabulary
Factor handbook ยป Vocabulary index


Documentation
Splitting sequences

Metadata
Tags:collections, text
Authors:Slava Pestov


Words

Generic words
WordStack effect
split-lines( seq -- seq' )


Ordinary words
WordStack effect
?head( seq begin -- newseq ? )
?head-slice( seq begin -- newseq ? )
?snip( from/f to/f seq -- before after )
?snip-slice( from/f to/f seq -- before after )
?tail( seq end -- newseq ? )
?tail-slice( seq end -- newseq ? )
join-lines( seq -- seq )
join-lines-as( seq exemplar -- seq )
join-words( seq -- seq )
join-words-as( seq exemplar -- seq )
replace( seq old new -- new-seq )
split( seq separators -- pieces )
split-indices( seq indices -- pieces )
split-slice( seq separators -- pieces )
split-subseq( seq subseq -- seqs )
split-when( ... seq quot: ( ... elt -- ... ? ) -- ... pieces )
split-when-slice( ... seq quot: ( ... elt -- ... ? ) -- ... pieces )
split-words( seq -- seq )
split1( seq subseq -- before after )
split1-last( seq subseq -- before after )
split1-last-slice( seq subseq -- before-slice after-slice )
split1-slice( seq subseq -- before-slice after-slice )
split1-when( ... seq quot: ( ... elt -- ... ? ) -- ... before after )
split1-when-slice( ... seq quot: ( ... elt -- ... ? ) -- ... before-slice after-slice )
string-lines( seq -- seq' )
subseq-range( seq subseq -- from/f to/f )


Files


Metadata files


Children from resource:basis
VocabularySummary
splitting.monotonicSplit a sequence into monotonically-increasing subsequences


Children from resource:extra
VocabularySummary
splitting.extras