Phil Tomson <ptkwt / shell1.aracnet.com> wrote:
> Hmmm.... Crazy idea:  One could use code generation to create N'ary counter 
> classes where N is the number of values that each slot could take.

I wrote one recently (though using a considerably more mundane approach
<g>) - it's up at http://www.rubygarden.org/ruby?MultiCounter

martin