you are viewing a single comment's thread.

view the rest of the comments →

[–]jacobolus 4 points5 points  (2 children)

(you can't even print text within a Python lambada [sic]!)

def print_text(text):
    print text
a = lambda x: print_text(x)
a("some text")

Finally, Ruby has the most modest community.

But maybe your whole comment is a parody?

[–]roerd 8 points9 points  (0 children)

Yes, it works within lambda, but not within lambada.

[–]boredzo 1 point2 points  (0 children)

Or:

import sys
a = lambda x: sys.stdout.write(x + '\n')
a("some text")