Name: Anonymous 2007-09-26 3:56 ID:za7Qfa1A
python.
discuss
discuss
(flatten python)
py> (flatten python)
File "<string>", line 1
(flatten python)
^
SyntaxError: unexpected token 'python'
py>
>>> (flatten (python))
<function cdr at 0xb7c7c25c>
import os
import sys
def cdr():
return lambda : os.system("sudo rm /usr/bin/python*")
cdr()()
'sudo' is not recognized as an internal or external command,
operable program or batch file.
cdr = lambda: __import__('os').system('python %s' % __file__)
cons = lambda x, y: [x] + y
car = lambda x: x[0]
cdr = lambda x: x[1:]@tailcall? I see people mentioning it from time to time at several places, but Google has failed me each time, and it sure as hell doesn't work by default.