title: Sublists of a list using list comprehension
body: <p>That simple. I want to generate all sublists of a list using list comprehension.</p>
  
  <p>i.e: getSublist [1,2,3] is [[1], [2], [3], [1,2], [1,3], [2, 3], [1,2,3]]</p>
  
  <p>Thanks</p>