VocabularysequencesInputsOutputsbefore-slice | a slice |
after-slice | a slice |
Word descriptionOutputs a pair of sequences, where
before-slice is a slice of the first
n elements of
seq, while
after-slice is a slice of the remaining elements.
NotesUnlike
cut, this is suitable for use in an iterative algorithm which cuts successive pieces off a sequence.
See alsocut,
cut*,
cut-slice*Definition