func printBins(w io.Writer, bins []bin, maxPerLine int) {
	for i, b := range bins {
		prefix := ""

		if i != 0 {
			prefix = " "
			if maxPerLine > 0 && i%maxPerLine == 0 {
				prefix = "\n"
			}
		}

		fmt.Fprintf(w, "%s%d:%d", prefix, b.k, b.n)
	}
}
// printBins pretty prints bins to w.
//
// output:
// 	<k>:<n>...
printBins pretty prints bins to w.


// printBins pretty prints bins to w . // // output : // <k > : <n > ...
func printBins(w io.Writer, bins []bin, maxPerLine int) {
	for i, b := range bins {
		prefix := ""
		if i != 0 {
			prefix = " "
			if maxPerLine > 0 && i%maxPerLine == 0 {
				prefix = "\n"
			}
		}
		fmt.Fprintf(w, "%s%d:%d", prefix, b.k, b.n)
	}
}
func printBins ( w io . Writer , bins [ ] bin , maxPerLine int ) { for i , b := range bins { prefix := " " if i != 0 { prefix = " " if maxPerLine > 0 && i % maxPerLine == 0 { prefix = " \n " } } fmt . Fprintf ( w , " " , prefix , b . k , b . n ) } }
printBins pretty prints bins to w.
printBins pretty prints bins to w .