title: Ruby lambda literal syntax
body: <p>I have a doubt on the lambda literal syntax corresponding to that (more classic) lambda syntax:</p>
  
  <pre><code>lambda { |foo| }
  </code></pre>
  
  <p>Is the following correct?</p>
  
  <pre><code>-&gt;(foo) {}
  </code></pre>
  
  <p>Thank you.</p>