A Universe Set

hanumizzle hanumizzle at gmail.com
Fri Oct 6 07:09:36 CEST 2006


On 10/4/06, Wildemar Wildenburger <wildemar at freakmail.de> wrote:
> Jorgen Grahn wrote:
> > - the wildcard object, which compares equal to everything else
> > - infinite xrange()s
> > - the black hole function 'def f(*args): pass'
> > - the identity function 'def f(x): return x'
>
> Any use cases for these?

I used the last one in my .emacs (but it had a lot to with stupid
emacs lisp). It might also be useful for some theoretical aspects of
FP and mathematical applications (maybe! IANAE!!). See:
http://en.wikipedia.org/wiki/Fixed_point_%28mathematics%29

-- Theerasak



More information about the Python-list mailing list