1 ! Copyright (C) 2008 John Benediktsson
2 ! See http://factorcode.org/license.txt for BSD license
4 USING: help.syntax help.markup kernel assocs sequences quotations ;
9 { $values { "assoc" assoc } { "n" "number of bins" } { "bins" "packed bins" } }
10 { $description "Packs the (key, value) pairs into the specified number of bins, using the value as a weight." } ;
13 { $values { "items" sequence } { "n" "number of bins" } { "bins" "packed bins" } }
14 { $description "Packs a sequence of numbers into the specified number of bins." } ;
17 { $values { "items" sequence } { "quot" quotation } { "n" "number of bins" } { "bins" "packed bins" } }
18 { $description "Packs a sequence of items into the specified number of bins, using the quotatino to determine the weight." } ;