Re: Not understanding lamdas and scoping

2008-03-26 Thread castironpi
On Mar 26, 5:03 pm, Joshua Kugler <[EMAIL PROTECTED]> wrote: > George Sakkis wrote: > > On Mar 26, 5:02 pm, Joshua Kugler <[EMAIL PROTECTED]> wrote: > > >> I am trying to use lamdba to generate some functions, and it is not > >> working > >> the way I'd expect.  The code is below, followed by the r

Re: Not understanding lamdas and scoping

2008-03-26 Thread George Sakkis
On Mar 26, 6:03 pm, Joshua Kugler <[EMAIL PROTECTED]> wrote: > George Sakkis wrote: > > On Mar 26, 5:02 pm, Joshua Kugler <[EMAIL PROTECTED]> wrote: > > >> I am trying to use lamdba to generate some functions, and it is not > >> working > >> the way I'd expect. The code is below, followed by the r

Re: Not understanding lamdas and scoping

2008-03-26 Thread Joshua Kugler
George Sakkis wrote: > On Mar 26, 5:02 pm, Joshua Kugler <[EMAIL PROTECTED]> wrote: > >> I am trying to use lamdba to generate some functions, and it is not >> working >> the way I'd expect. The code is below, followed by the results I'm >> getting. More comments below that. >> >> (...) >> >> S

Re: Not understanding lamdas and scoping

2008-03-26 Thread George Sakkis
On Mar 26, 5:02 pm, Joshua Kugler <[EMAIL PROTECTED]> wrote: > I am trying to use lamdba to generate some functions, and it is not working > the way I'd expect. The code is below, followed by the results I'm > getting. More comments below that. > > (...) > > So, is there some scoping issue with

Not understanding lamdas and scoping

2008-03-26 Thread Joshua Kugler
I am trying to use lamdba to generate some functions, and it is not working the way I'd expect. The code is below, followed by the results I'm getting. More comments below that. patterns = ( ('[sxz]$', '$','es'), ('[^aeioudgkprt]h$', '$', 'es'), ('[^aeiou]y$', 'y$', 'ies'), ('$',