Vocabulary
math.binpack

Inputs
itemsa sequence
quota quotation with stack effect ( item -- weight )
#binsnumber of bins


Outputs
binspacked bins


Word description
Packs a sequence of items into the specified number of bins, using the quotation to determine the weight.

Definition