VocabularysequencesInputs and outputsWord descriptionSplits a sequence into two slices at the midpoint. If the sequence has an odd number of elements, the extra element is returned in the second slice.
ExamplesUSING: arrays sequences prettyprint kernel ;
{ 1 2 3 4 5 } halves [ >array . ] bi@
{ 1 2 }
{ 3 4 5 }
Definition