I'm not sure I get the lambda issue. If you want a &#62; 1 line lambda why not just define a function?<p><pre><code>    def a(x):
        def b():
           print x
        return b
</code></pre>
Not sure what a prototypical ruby usecase would be.