Re: lambda closure question
From: Ted Lilley (ted.lilley_at_gmail.com)
Date: 02/20/05
- Next message: Rocco Moretti: "Re: Why doesn't join() call str() on its arguments?"
- Previous message: Ted Lilley: "Re: lambda closure question"
- In reply to: Kent Johnson: "Re: lambda closure question"
- Next in thread: Karl Anderson: "Re: lambda closure question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 19 Feb 2005 20:26:46 -0800
I replied a few minutes ago thanking everyone for their pointers. Very
interesting reading. I don't see my post yet, so I do hope it comes
through. I'm using a new newsreading service and don't yet have
confidence in it.
In any case, the addition of the default-setting argument in the lambda
works famously and is only a slight modification to my code. While I
don't think it's particularly intuitive (I would hate to be a
hypothetical programmer trying to puzzle out what my code does), it
gets the job done and is a heck of a lot easier than attaching the list
of attributes manually as I would've done without Python's FP
capabilities.
Thanks again,
Ted
- Next message: Rocco Moretti: "Re: Why doesn't join() call str() on its arguments?"
- Previous message: Ted Lilley: "Re: lambda closure question"
- In reply to: Kent Johnson: "Re: lambda closure question"
- Next in thread: Karl Anderson: "Re: lambda closure question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|