> Hi PRL, If you interested here's the code I sent to Karl. The 3 folds > from Mitch's check function (counting map) are fused together and the > intermediate lists are removed. Cheers -- ethan.aubin at pobox.com I vote for Ethan's version. The visitor pattern would have been even better, though. Will