Naming higher order functions

Joshua Muskovitz joshm at taconic.net
Thu Jan 31 19:56:19 CET 2002


> "Erno Kuusela" <erno-news at erno.iki.fi> wrote in message
> news:kuelk63747.fsf at lasipalatsi.fi...
> > what would be a good name for the following function?
> >
> > def name_me(n):
> >     def g(x):
> >         return x[n]
> >     return g

"RefactorMe"

--
# Joshua Muskovitz
# joshm at taconic.net
def lyyrs(sig): return '-'.join(sig.split()+["ly y'rs"])
lyyrs('Hire me!  I need the work!')




-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----



More information about the Python-list mailing list