Function Iterate-Over-Indexes

Part of:

package metabang.utilities
( iterate-over-indexes < symbol-counts > < fn > &optional < direction > )

Apply fn to lists of indexes generated from symbol counts. The counting is
done so that the first symbol varies most quickly unless the optional direction
parameter is set to :right.