From: benjohn@... Date: 2006-10-04T22:29:40+09:00 Subject: Re: How to DRY this? > jean wrote > great !! I like yours better, now I wish I hadn't tried :) Well, thanks, but don't let that put you off (or I'll wish I hadn't). It's quite interestesting to look at the different approaches. The four suggestions have three different approaches, and two of the approaches are _very_ similar (utilisation of yield).