TakeList¶
Splits a list into chunks of given lengths.
Negative counts take from the end of the remaining slice:
All and UpTo[n] are also accepted as sequence specifications, and any
head is preserved on each resulting chunk:
TakeList¶Splits a list into chunks of given lengths.
Negative counts take from the end of the remaining slice:
All and UpTo[n] are also accepted as sequence specifications, and any
head is preserved on each resulting chunk: