From: Martin DeMello Date: 2003-07-19T05:05:54+09:00 Subject: Re: [SNIPPET] Binary counter Phil Tomson 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 ) - it's up at http://www.rubygarden.org/ruby?MultiCounter martin