title: How to create all possible combinations from the elements of a list?
body: <p>I have the following list:</p>
  
  <pre><code>List(a, b, c, d, e)
  </code></pre>
  
  <p>How to create all possible combinations from the above list?</p>
  
  <p>I expect something like:</p>
  
  <pre><code>a
  ab
  abc 
  </code></pre>