Re: lambda closure question

From: Ted Lilley (ted.lilley_at_gmail.com)
Date: 02/20/05


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



Relevant Pages

  • Owner of files and folders
    ... JdeBP> I suggest reading the Microsoft TechNet and Microsoft ... CD> Your links only refer to documentation which, of course, ... Pointers to documentation are perfectly valid replies, ...
    (microsoft.public.windows.file_system)
  • Re: array
    ... > It is an array of one TRGBQUAD. ... > (pointers to) variable size arrays. ... reading another post you've referenced similarly, on this same thread, I am ... Anyway back to this dynamic element of these two types of "hacks" ...
    (borland.public.delphi.language.objectpascal)
  • 9.1 Cups dies with error
    ... I've been reading all the FAQ's I can find and I'm stuck with this one, ... anyone any clues or pointers? ...
    (alt.os.linux.suse)
  • Re: Parsing dirty/corrupt data. Advice wanted
    ... > In one file I found what appears to be a login session complete with ... > Any help, pointers, reading suggestions??? ...
    (comp.lang.perl.misc)
  • Re: You guys check this and tell me...
    ... What part of me reading it, quoting it, agreeing ... and thanking you for posting the link to it predicated such ...
    (rec.motorcycles)